From cba75aa2e46a4d7f4368015ed9476cd56a1d0210 Mon Sep 17 00:00:00 2001 From: Don Cross Date: Mon, 10 Jan 2022 19:59:25 -0500 Subject: [PATCH] Fixed #64 - pip package for Astronomy Engine. Thanks to ebrominio, I was able to create a pip package for Astronomy Engine. See: https://pypi.org/project/astronomy-engine/1.0.1/ I will probably need to go back and keep the version numbers in sync with the matching npm package. --- source/python/.gitignore | 2 ++ source/python/publish | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 source/python/publish diff --git a/source/python/.gitignore b/source/python/.gitignore index 0d20b648..fb6f6f4d 100644 --- a/source/python/.gitignore +++ b/source/python/.gitignore @@ -1 +1,3 @@ *.pyc +astronomy_engine.egg-info/ +dist/ diff --git a/source/python/publish b/source/python/publish new file mode 100755 index 00000000..9c1b6c87 --- /dev/null +++ b/source/python/publish @@ -0,0 +1,4 @@ +#!/bin/bash +python3 -m build || exit $? +python3 -m twine upload dist/* || exit $? +exit 0