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

Packaging improvements #8

Merged
merged 3 commits into from
Feb 19, 2019

Conversation

rohanpm
Copy link
Member

@rohanpm rohanpm commented Feb 18, 2019

  • Ensure supporting files are included in distribution (most critically, LICENSE)
  • Clean up unnecessary code
  • Make setup.py read from requirements.txt
  • Clarify license

Copy link

@mztahir mztahir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but someone else must approve.

setup.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
These supporting files should be included in the source
distribution shipped to PyPI. Most critically, the LICENSE
ought to be shipped with the source.

Also removes the code in setup.py tolerating absence of README.md.
The reason it was missing for older python/setuptools was that
README.md isn't implicitly included in the source dist for those
old versions.
Avoids maintaining the same list in two places.
Simply writing "GPLv3" makes it ambiguous whether it's intended
to include the "or any later version" clause (although this was
included in the setup.py metadata).

Copy the recommended blurb from the license to make it explicit
that "any later version" does apply here.
@rohanpm
Copy link
Member Author

rohanpm commented Feb 19, 2019

There's a problem with coveralls all of a sudden, affecting all pull requests. Please ignore it here. I've filed separate issue #12 for that.

@rohanpm rohanpm merged commit a524d22 into release-engineering:master Feb 19, 2019
@rohanpm rohanpm deleted the packaging-fixes branch February 19, 2019 21:58
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

4 participants