-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Modernize packaging a bit #38
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,29 @@ | ||||||||||||
[build-system] | ||||||||||||
requires = ["setuptools>=61.0.0"] | ||||||||||||
build-backend = "setuptools.build_meta" | ||||||||||||
|
||||||||||||
[project] | ||||||||||||
name = "mypy_extensions" | ||||||||||||
version = "1.0.0-dev" | ||||||||||||
description = "Type system extensions for programs checked with the mypy type checker." | ||||||||||||
readme = "README.md" | ||||||||||||
license = {file = "LICENSE"} | ||||||||||||
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.
Suggested change
I'd suggest to use the SPDX license string here instead. The license file is already included by setuptools. |
||||||||||||
requires-python = ">=3.7" | ||||||||||||
authors = [ | ||||||||||||
{name = "The mypy developers", email = "jukka.lehtosalo@iki.fi"}, | ||||||||||||
] | ||||||||||||
classifiers = [ | ||||||||||||
"Development Status :: 5 - Production/Stable", | ||||||||||||
"Environment :: Console", | ||||||||||||
"Intended Audience :: Developers", | ||||||||||||
"License :: OSI Approved :: MIT License", | ||||||||||||
"Programming Language :: Python :: 3", | ||||||||||||
"Programming Language :: Python :: 3.7", | ||||||||||||
"Programming Language :: Python :: 3.8", | ||||||||||||
"Programming Language :: Python :: 3.9", | ||||||||||||
"Programming Language :: Python :: 3.10", | ||||||||||||
"Programming Language :: Python :: 3.11", | ||||||||||||
"Topic :: Software Development", | ||||||||||||
Comment on lines
+25
to
+26
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.
Suggested change
Support for |
||||||||||||
] | ||||||||||||
[project.urls] | ||||||||||||
Repository = "https://github.com/python/mypy_extensions" |
This file was deleted.
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.
This should specify the content type, as setuptools otherwise assumes it's ReStructured Text:
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.
That's not necessary. Setuptools can detect that it's a markdown file and adds
Description-Content-Type: text/markdown
to the core metadata.