Hide private symbols in Python package.

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/
This commit is contained in:
Don Cross
2022-03-20 14:24:00 -04:00
parent 2a92ad70c0
commit 8963fb7b69
5 changed files with 11 additions and 5 deletions

1
source/python/astronomy/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
astronomy.py

View File

@@ -0,0 +1,7 @@
# Astronomy Engine module initializer by Don Cross <cosinekitty@gmail.com>.
# Pull Astronomy Engine's public symbols into module scope.
from .astronomy import *
# Delete the redundant nested module namespace.
del astronomy