sczesla / PyAstronomy

A collection of astronomy-related routines in Python
152 stars 35 forks source link

pip friendly "with-ext" #40

Closed nonZero closed 6 years ago

nonZero commented 6 years ago

Using python setup.py --with-ext install is not pip friendly.

A better solution would be extracting a pyastronomy-occult package from PyAstronomy. (Bonus: This package could be distributed in binary wheels as well).

Instead of --with-ext, it would be specified as an extra dependency to PyAstronomy:

pip install pyastronomy[occult]
sczesla commented 6 years ago

Thanks. Appears to be a better approach for sure. I will have to look into this solution

sczesla commented 6 years ago

Implemented this solution. Hope it works!