MWATelescope / mwa_pb

MWA Primary Beam model code
MIT License
2 stars 8 forks source link

Pip installable #12

Closed NickSwainston closed 4 years ago

NickSwainston commented 4 years ago

Used git lfs to add the .h5 file so we no longer need a wget command in installation. Added a function in setup.py to update the third digit of the version number. For example if you release this as v1.0 and there are three commits since then it will be version v1.0.3. This should make it easier to keep updated versions of the code on PyPi as you can make a version for each pull request.

This should be enough to make the repo pip installable, I even gave it a go myself with TestPyPi. You can test it using: pip install -i https://test.pypi.org/simple/ mwa-pb

andreww5au commented 4 years ago

Hi Nick, looks good to me, go ahead and merge it in.