Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShadowJonathan opened this issue May 20, 2020 · 2 comments
Open

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

ShadowJonathan opened this issue May 20, 2020 · 2 comments
Assignees

Comments

@ShadowJonathan
Copy link
Collaborator

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
Copy link
Owner

Cool idea, but:

  • Download and installation of data files is (and has always been) the responsability of the user or application developper.
  • Debian systems have native packages just for them (swe-data).

@ShadowJonathan
Copy link
Collaborator Author

(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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants