-
-
Notifications
You must be signed in to change notification settings - Fork 69
✨ Migrate package installation to pyproject.toml (PEP 621) #54
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
70baf4d
✨ Migrate package installation to pyproject.toml (PEP 621)
Ambro17 e206857
➕ Add pytest-cov as a dev dependency
Ambro17 0d69f8b
🔧 Make version dynamic as in starlette
Ambro17 9327d04
⬆️ Upgrade libraries and tweak due to api changes.
Ambro17 6459f59
🔧 Fix versioning task
Ambro17 1015e97
📚 Update README.rst
Ambro17 e9fd1eb
🧹 Remove setup.py as it was replaced by pyproject.toml
Ambro17 9f744a0
🧹 Remove setup.py as it was replaced by pyproject.toml
Ambro17 49d9781
🔧 Implement hatch's author suggestion to explicitly declare wheel tar…
Ambro17 94c4cc3
Update multipart/__init__.py
Ambro17 7e059da
Update pyproject.toml
Ambro17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "python-multipart" | ||
dynamic = ["version"] | ||
description = "A streaming multipart parser for Python" | ||
readme = "README.rst" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Andrew Dunham", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'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 :: Libraries :: Python Modules', | ||
] | ||
dependencies = [] | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"atomicwrites==1.2.1", | ||
"attrs==19.2.0", | ||
"coverage==6.5.0", | ||
"more-itertools==4.3.0", | ||
"pbr==4.3.0", | ||
"pluggy==1.0.0", | ||
"py==1.11.0", | ||
"pytest==7.2.0", | ||
"pytest-cov==4.0.0", | ||
"PyYAML==5.1", | ||
"invoke==1.7.3", | ||
"pytest-timeout==2.1.0", | ||
"hatch", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/andrew-d/python-multipart" | ||
Documentation = "https://andrew-d.github.io/python-multipart/" | ||
Changelog = "https://github.com/andrew-d/python-multipart/tags" | ||
Source = "https://github.com/andrew-d/python-multipart" | ||
|
||
[tool.hatch.version] | ||
path = "multipart/__init__.py" | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = [ | ||
"multipart", | ||
] | ||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/multipart", | ||
] | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.