-
Notifications
You must be signed in to change notification settings - Fork 151
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
Refactor packaging #224
Comments
I like the idea that @dnerini suggested in #216, add different options to install a particular set of dependencies depending on the needs of the users using the extras_require in setup.cfg. We can implement by:
In #216 I also suggested splitting the library into different components using something like Namespace packages. However, if the goal is avoiding ithe installation of unnecessary optional depencies, the |
Thanks @aperezhortal for the nice summary, we should give it a try! One aspect that is not clear to me is how is this going to translate in terms of conda-forge packages? Do you know? One more thing we should discuss is a tentative list of sub-functionalities, we already mentioned a few:
what else could be useful?
|
What about:
|
I am not an expert in python packaging but I'm all for having the proposed separately installable components. For example, doc requires more than simply sphynx, it also uses e.g. a bibtex package. It would be useful to be able to install all doc requirements with one doc submodule and likewise for the rest. Perhaps something like that was already possible, but I missed it... |
I would not want the aspect I brought to light to get confused with the difference between development dependencies and production dependencies: for development dependencies ( For example, I use |
Hi everyone,
I don't know if the topic has already come up but I would suggest splitting the library into multiple components (eg: core, visualization, etc.) so that you can only install what you need (eg: downscaling) and avoid what you don't need (eg: eg: visualizattion) and all related dependencies (eg:
matplotlib
).I say this for all those like me who find themselves installing libraries in AWS Lambda (and similar) where space is precious and therefore it is very convenient to be able to install only what you need without having to manually delete files and folders after installation.
Originally posted by @fox91 in #216 (comment)
The text was updated successfully, but these errors were encountered: