Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Conda build and cython problems #1698
Comments
|
I'm not super familiar with conda packaging details, but lots of cython-using packages ship with conda so I would try to see what they do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jordi-vaquero commentedMay 5, 2017
•
edited
I am trying to create a conda package to distribute a python tool. Part of the tool is cythonized, and it works perfectly using python setup.py install.
I create the tar properly but when I try to install it, the package does not contain the .py files that links the python imports and the .so files.
So when I try to import that packages I get a module not found.
The only think I have found around cython and conda is to introduce cython requirement in the build/run section in the meta.yaml, but I don't know why those .py files are not included.
This is my meta.yaml
my setup.py file looks like
The directory structures is
I also tried using python setup.py bdist_conda but the behavior is the same, or it is a conda issue or it is an specific problem on my configuration.
if that is the case I guess is is setup.py....