Skip to content
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

Set up packaging metadata #5

Closed
adigitoleo opened this issue Jan 25, 2021 · 1 comment
Closed

Set up packaging metadata #5

adigitoleo opened this issue Jan 25, 2021 · 1 comment

Comments

@adigitoleo
Copy link
Member

I have been reading about python packaging recently (for some personal projects and just out of interest) and I think I'm ready to attempt setting up packaging metadata for this project. The eventual goal is to enable publishing of the code to https://pypi.org/ which allows simple installation via pip install, setup.py install or simillar.

There are some things that still need more research, like how to specify ray OR charm4py as the parallelism dependency, but I'll push up a branch with what I have so far.

Cheers,
Leon

@adigitoleo
Copy link
Member Author

adigitoleo commented Jan 26, 2021

It turns out that mutually exclusive dependencies are not currently supported in Python's setuptools. See pypa/packaging-problems/issues/432 and pypa/packaging-problems/issues/214 for reference. For now I will probably specify both ray and charm4py as optional dependencies. This means neither will be installed aoutomatically by pip, unless using the syntax pip install pydrex[ray] for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant