nansencenter / nansat

Scientist friendly Python toolbox for processing 2D satellite Earth observation data.
http://nansat.readthedocs.io
GNU General Public License v3.0
182 stars 66 forks source link

Automate deploy to pypi #458

Closed akorosov closed 4 years ago

akorosov commented 4 years ago

It would be nice to also automate deploying of Nansat to pypi: https://docs.travis-ci.com/user/deployment/pypi/

akorosov commented 4 years ago

A problem that potentially may arise with auto-deployment is that Travis should build Nansat before pushing to Pypi. And currently building Nansat is only possible with the help of docker container. Something like docker run -v $PWD:/src nansat_base python setup.py sdist and only then twine upload .... So maybe automatic deployment with pypi module will not be possible and a seprate script is needed...