mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-23 02:07:48 -05:00
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:
1
source/python/.gitignore
vendored
1
source/python/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
*.pyc
|
||||
astronomy_engine.egg-info/
|
||||
dist/
|
||||
astronomy/__init__.py
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user