mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-19 14:27:52 -04:00
More Python/pip package cleanup : version 2.0.17.
Generate astronomy.py directly in the package directory.
I realized it doesn't make sense to generate it in the
parent directory and then copy it; just generate it where
it will end up anyway.
Updated documentation so people know they can just do
pip install astronomy-engine
to install Astronomy Engine in their Python project.
Removed the GitHub Actions status badge because it is redundant with
the checkmark/X indicator.
Now that private symbols are no longer exported, I had to
fix a couple of places where the unit tests still accessed them.
This commit is contained in:
@@ -8,7 +8,7 @@ Fail()
|
||||
[[ "$1" == "" || "$1" == "-v" ]] || Fail "Invalid command line options."
|
||||
|
||||
python3 --version || Fail "Cannot print python version"
|
||||
python3 -m pylint --init-hook="import sys; sys.setrecursionlimit(2000)" ../source/python/astronomy.py || Fail "pylint detected problems"
|
||||
python3 -m pylint --init-hook="import sys; sys.setrecursionlimit(2000)" ../source/python/astronomy/astronomy.py || Fail "pylint detected problems"
|
||||
python3 test.py $1 all || Fail "Failed Python unit tests."
|
||||
for file in temp/py_longitude_*.txt; do
|
||||
./generate $1 check ${file} || Fail "Failed verification of file ${file}"
|
||||
|
||||
Reference in New Issue
Block a user