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.
This commit is contained in:
Don Cross
2022-03-20 13:42:16 -04:00
parent 0943f058c9
commit 2a92ad70c0
5 changed files with 10 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
*.pyc
astronomy_engine.egg-info/
dist/
astronomy/__init__.py

View File

@@ -1,5 +1,7 @@
#!/bin/bash
rm -f dist/*
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

View File

@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='astronomy-engine',
version='2.0.13',
version='2.0.15',
description='Astronomy calculation for Sun, Moon, and planets.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
@@ -14,5 +14,6 @@ setup(
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7"
]
],
packages = ['astronomy']
)