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

Specify all dependencies needed to run the dwarfs example #133

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

Conversation

blsqr
Copy link

@blsqr blsqr commented Jul 5, 2019

When following the instructions in the README (in a a fresh venv), the following dependencies are missing when trying to run run_seven_dwarfs.py:

  • h5py
  • networkx
  • matplotlib
  • plotly

This PR adds them to setup.py and updates the basic metadata supplied there (using already available information from the GitHub repo).

The former two dependencies seem to be required within pycopancore while the latter two are only used from the scripts defined in studies. Thus, the latter two shouldn't actually be part of setup.py...
Depending on how you would want to resolve this, I'm happy to add another commit which:

  • removes matplotlib and plotly from the dependency list
  • adds a note to the README that these additional packages need to be installed

blsqr added 2 commits July 5, 2019 21:24
When following the instructions from the README, the
`run_seven_dwarfs.py` study could not be run without these dependencies.
For that reason, they should either be removed from the example study or
be part of the dependency list.
This is only using information that is already available.
@blsqr
Copy link
Author

blsqr commented Jul 6, 2019

Seems related to #132 and #131 .

For the case of #131, setup.py could (until migration to NetworkX >= 2.0 is completed) require networkx>=1.11,<2.0.

@mensch72 Is there anyone I should specifically mention regarding this?

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.

None yet

1 participant