-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Use setuptools_scm for dynamic versioning #7627
Changes from all commits
8754a16
14d6341
53668d0
be7e1a4
3f15c21
1d134dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,6 @@ Tests/images/sunraster | |
|
||
# pyinstaller | ||
*.spec | ||
|
||
# Generated by setuptools_scm | ||
src/PIL/_version.py |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @hugovk I recommend adding a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The discussion to add that file began with sphinx-contrib/sphinxcontrib-towncrier#33 (comment), where you quoted an error. I'm guessing that error came from mypy? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment considering this is still in progress: I don't see why it is necessary to remove
PILLOW_VERSION
as a Python variable - we're still definingPILLOW_VERSION
as the same value for C, so I don't see the change as creating any distinction in meaning.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When doing it globally we get a
FileNotFoundError: [Errno 2] No such file or directory: 'src/PIL/_version.py'
, I presume because when openingsetup.py
to begin the build, the build hasn't had a chance to generate the file yet.Details