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

Make ChemBench pip-installable #3

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

grumpybavarian
Copy link

Hi!

This PR adds a setup.py to ChemBench in order to make it pip installable. This has the advantage that users don't have to clone and add the path to the local directory to their PYTHONPATH anymore. Additionally, ChemBench could now be published to pypi such that users could simply install it without any cloning. This would be great for projects that rely on ChemBench and want to add it to their setup.py or to their requirements.txt as a dependency.

Let me know what you think or if there is anything I can help with! Thanks :)

@cthoyt
Copy link
Collaborator

cthoyt commented Dec 8, 2020

Hi @TedAI, I'm sorry I didn't see your PR - I also just spent a bit of time providing my own solution for this in #5. I've opted to use the src/ layout (which made the diff a bit bigger, but is pretty much standard in the Python community at this point). I also used a declarative setup.cfg, which simplifies things greatly. We can all discuss with @shenwanxiang, since I'm sure this will be an educational experience all around

@shenwanxiang
Copy link
Owner

Hi @TedAI, I'm sorry I didn't see your PR - I also just spent a bit of time providing my own solution for this in #5. I've opted to use the src/ layout (which made the diff a bit bigger, but is pretty much standard in the Python community at this point). I also used a declarative setup.cfg, which simplifies things greatly. We can all discuss with @shenwanxiang, since I'm sure this will be an educational experience all around

Hi @TedAI & @cthoyt , to make this more friendly, can I invite you two as developer of this project? Thanks for your pull request

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 this pull request may close these issues.

3 participants