NewStrangeWorlds / FastChem

An ultra-fast equilibrium chemistry
https://newstrangeworlds.github.io/FastChem/
GNU General Public License v3.0
41 stars 16 forks source link

Adding setup.py #4

Closed bmorris3 closed 2 years ago

bmorris3 commented 2 years ago

Hi @daniel-kitzmann,

One more feature for pyfastchem users here. It's traditional to install python packages using Python itself, rather than building with cmake first and generating a standalone shared library. The advantages to doing this include:

With this addition, you can simply cd into the repo and type python setup.py install to install the package.

Also, if you approve of these changes and want me to handle it for you, I can also upload pyfastchem to PyPI (this is something I need for one of my projects), so it can also be installed simply with pip install pyfastchem.

bmorris3 commented 2 years ago

pyfastchem v2.0 is now available for quick install via pip install pyfastchem. 🎉

daniel-kitzmann commented 2 years ago

Hi @bmorris3,

Changes have been merged into a dev branch now.