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

Setuptools not required #65

Merged
merged 3 commits into from
Jul 17, 2015
Merged

Conversation

olaurino
Copy link
Member

This PR ensures that setuptools is not required for building Sherpa. Sherpa already provides a warning when setuptools is not available, but some commands like develop and test, while not directly imported by Sherpa, rely on the presence of setuptools. With this PR, when the package is not available, Sherpa will just prints a warning on the standard output. While this is mostly required to support CIAO builds, we do claim that setuptools is not required, and this PR ensures this is true.

The PR also adds a Travis build for testing the ability to build and test Sherpa without setuptools. As Travis builds have become rather cheap and quick (even though we haven't migrated to the new system ourselves), I have also reinstated the other builds, and fixed a couple of issues in the Travis build configuration.

The changes were tested locally on Linux64 by manually removing setuptools and by running python setup.py {develop,test,install}, testing that the commands did not choke. Plus, a new build has been added to the Travis builds, exercising an install without setuptools, which is what CIAO does.

@olaurino olaurino added this to the 4.8rc1 milestone Jul 16, 2015
@olaurino olaurino merged commit 41094d0 into sherpa:master Jul 17, 2015
olaurino added a commit that referenced this pull request Jul 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants