astrorigin / pyswisseph

Python extension to the Swiss Ephemeris
https://astrorigin.com/pyswisseph
GNU Affero General Public License v3.0
228 stars 65 forks source link

Bundle swisseph data files into pyswisseph-data-* #28

Open ShadowJonathan opened 4 years ago

ShadowJonathan commented 4 years ago

This is a tracker/reminder issue about bundling the swisseph data files into pyswisseph-data-* packages, to make it easier for users to access different datasets dynamically through pip itself.

astrorigin commented 1 year ago

Cool idea, but:

ShadowJonathan commented 1 year ago

(After some discussion;)

We could still publish the data files, and when installing, give a dummy Python package (like swisseph.data, under swisseph/data/__init__.py), that in actuality only exists to locate files relative to it, so that we can package data files like that, and system-installed data packages and pip-installed data packages will resolve properly no matter their location (as long as it is in a resolvable Python import folder)