mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-18 15:27:54 -05:00
I realized that the way I structured the pip package in version 2.0.15 made the private symbols (those whose names begin with an underscore) to be visible by the importer. I reworked the package structure so this no longer happens. This is now fixed in: https://pypi.org/project/astronomy-engine/2.0.16/
7 lines
185 B
Bash
Executable File
7 lines
185 B
Bash
Executable File
#!/bin/bash
|
|
rm -f dist/*
|
|
cp -v astronomy.py astronomy/astronomy.py || exit $?
|
|
python3 -m build || exit $?
|
|
python3 -m twine upload --repository astronomy-engine dist/* || exit $?
|
|
exit 0
|