-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pypi #2
Comments
Vigra and nifty will need to be handled. I really wish there were a pip-installable equivalent of |
Yes, vigra and nifty are optional dependencies and can't be intalled via pip. |
Mentioned in #10: it's nice that conda reads setuptools' data for picking up dependencies, but there are a couple which are on conda but not setuptools, so attempting to install those extras from pip will break. The more subtle breakage is |
Yes, that is a good point. # all packages that are available on pip and on conda
requires = [...]
# packages that are only on conda, and will be added as requirements in the conda recipe
extras_conda = {....}
# packages that are only on pip. will be used in setup and could be added as pip dependencies in the conda recipe
extras_pip = {...}
setup(...,
extras_require=extras_pip
) Do you see any issues with this pattern @clbarnes? |
It depends where One such pip-not-conda dependency is pyn5 (as a pip-friendly alternative for N5 access). The tool we use to build it publishes wheels to pypi, but can't build conda packages. |
You're right, my initial suggestion doesn't work. |
h5py-like builds and uploads wheels and sdists automatically from travis, on tagged commits to master. https://github.com/clbarnes/h5py_like/blob/master/.travis.yml To add the encrypted pypi password once, you need ruby and the Travis gem locally. You can also add it as an environment variable on the Travis website, I think. |
Thanks for sharing this! I will have a look once I come around to make the release. |
Publish on pypi
The text was updated successfully, but these errors were encountered: