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

Fix list of supported Python versions in Trove classifiers. #4

Merged
merged 9 commits into from
Dec 5, 2018

Conversation

icemac
Copy link
Member

@icemac icemac commented Dec 1, 2018

See zopefoundation/meta#1.

And flake8 the code.

Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

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

The only change I really want before merging is being explicit about Python versions in the changelog.

MANIFEST.in Outdated
include .coveragerc

recursive-include src *
include buildout.cfg
exclude buildout.cfg
Copy link
Member

Choose a reason for hiding this comment

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

Make up your mind please :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I did this not without a reason: When only using exclude I get a log message at install time that buildout.cfg cannot be excluded because it does not exist. If it is included beforehand, the log message is omitted.

If I completely omit it form MANIFEST.in then check-manifest complains because it is under version control.

If I configure check-manifest to not complain (via setup.cfg) buildout.cfg does not get excluded from the sdist.

So include + exclude looks ugly but is the only solution I found to omit buildout.cfg (or any other file under version control) from the sdist resp. wheel without any complaints.

I am open to a better or easier solution.

Copy link
Member

Choose a reason for hiding this comment

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

Ah! Okay, can you add a brief comment explaining this? Something like

# using include + exclude here to exclude buildout.cfg when building an sdist
# without producing "does not exist" warnings when installing from an sdist.

Copy link
Member

Choose a reason for hiding this comment

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

(Personally, I would just include buildout.cfg in the dists -- less hassle, no harm.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, you are right this is way easier.

MANIFEST.in Outdated
exclude buildout.cfg

include .travis.yml
exclude .travis.yml
Copy link
Member

Choose a reason for hiding this comment

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

Here too

src/z3c/macro/tales.py Outdated Show resolved Hide resolved
CHANGES.rst Outdated Show resolved Hide resolved
Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

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

Given that all the Python versions I wanted were already mentioned in the changelog, I retract my request for changes.

(I would love some changes though, the let's both include and exclude the same file in MANIFEST.in seems very strange, and I have doubts about the number of backticks change in that docstring.)

CHANGES.rst Outdated Show resolved Hide resolved
@icemac icemac merged commit 37b1c65 into master Dec 5, 2018
@icemac icemac deleted the classifiers branch December 5, 2018 19:31
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.

2 participants