mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-26 19:56:03 -05:00
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.
8 lines
227 B
Bash
Executable File
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
|