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

Improve robustness of setup.py in the absence of certain dependencies #19

Merged
merged 9 commits into from
Oct 14, 2014

Conversation

josePhoenix
Copy link
Collaborator

Three changes to improve installation for users who may not already have all the dependencies installed:

  • a warning when NumPy is not already installed, because setuptools customizations don't play well with automatic dependency installation in NumPy's case (users are advised to install NumPy separately)
  • retrieve long description without importing webbpsf -- webbpsf/__init__.py imports from POPPY, which will not (necessarily) be available when setup.py is run. (imp and ast are standard library modules used to add this functionality)
  • adding numpy to install_requires and setup_requires. (Currently, one of the AstroPy helpers tries to import NumPy, so it's necessary in setup_requires according to the documented meaning of that option. It's possible this won't be needed if the AstroPy helpers are changed not to have a hard dependency on NumPy at this point in the install.)

  - Fixed broken links in Pysynphot installation instructions
  - Formatted the list of dependencies nicely
  - included a tl;dr quickstart at the top
mperrin added a commit that referenced this pull request Oct 14, 2014
Improve robustness of setup.py in the absence of certain dependencies
@mperrin mperrin merged commit a94d5f9 into mperrin:master Oct 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants