Files
astronomy/source/python/publish
Don Cross 2a92ad70c0 Fixed pip package. Added SiderealTime to pip, npm.
The pip package was broken!
I violated ancient software development wisdom:
"If you haven't tested it, it doesn't work."
It is now working in:

https://pypi.org/project/astronomy-engine/2.0.15/

Version 2.0.15 of Astronomy Engine for Python (pip)
and Node.js (npm) add support for the new SiderealTime
function. This was previously an internal function,
but now it is exposed for outside callers.
2022-03-20 13:42:16 -04:00

8 lines
227 B
Bash
Executable File

#!/bin/bash
mkdir -pv astronomy || exit $?
rm -f dist/* astronomy/*
cp -v astronomy.py astronomy/__init__.py || exit $?
python3 -m build || exit $?
python3 -m twine upload --repository astronomy-engine dist/* || exit $?
exit 0