OMS-NetZero / FAIR-pro

Finite Amplitude Impulse-Response simple climate-carbon-cycle model repository with more functions for users who are comfortable with Python
Apache License 2.0
3 stars 0 forks source link

setup.py #5

Open znicholls opened 7 years ago

znicholls commented 7 years ago

You have to use either easytools or pip, both of which are built on setup tools. Having looked around a bit it seems we should stay well away from easytools e.g. https://webvulture.wordpress.com/2011/11/12/easy_install-vs-pip/ so I think we're going to have to get our head around how to write modules that can be distributed with pip.

For pip we just follow this https://packaging.python.org/.

We should also build the package for Conda given we're producing a scientific module... http://conda-test.pydata.org/docs/build_tutorials/pkgs.html

https://conda.io/docs/building/build.html to work out how to make a conda package but haven't done so yet. Notes on PyPI/pip packaging coming soon hopefully.

Command to install from the test site

pip install -i [address of repo on pypi]

znicholls commented 7 years ago

Haven't quite got conda distribution working, Monday's problem...