ukhsa-collaboration / pygom

ODE modelling in Python
GNU General Public License v2.0
27 stars 20 forks source link

Creating environment with yaml file #25

Closed hareball90 closed 4 years ago

hareball90 commented 5 years ago

Is it possible to run the setup.py file at the same time as setting up the conda environment?

Can the following be added to the instal_requires list in the setup.py file.
sphinx>=1.4.1 sphinx_rtd_theme>=0.2.0 ipython numpydoc

hareball90 commented 5 years ago

Also required in the yml file are git and jupyter.

twomagpi commented 5 years ago

Are these needed to run PyGOM or are the needed only for the documentation?

twomagpi commented 4 years ago

The easiest way might be to create an empty conda environment and then use conda on the requirements file conda install --file requirements.txt from the root of the package. I'm not sure that having another (we alrealy have requirements.txt and setup.py) source of the truth for the package requirements is sensible.