-
Notifications
You must be signed in to change notification settings - Fork 33
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
Replace setuptools.cfg and mypy.ini with pyproject.toml #157
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 |
---|---|---|
@@ -1,5 +1,63 @@ | ||
[project] | ||
name = "resolvelib" | ||
dynamic = ["version"] | ||
description = "Resolve abstract dependencies into concrete ones" | ||
authors = [ | ||
{name = "Tzu-ping Chung", email = "[email protected]"}, | ||
] | ||
dependencies = [] | ||
requires-python = ">=3.7" | ||
readme = "README.rst" | ||
license = {text = "ISC License"} | ||
keywords = ["dependency", "resolution"] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: ISC License (ISCL)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
|
||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/sarugaku/resolvelib" | ||
|
||
[project.optional-dependencies] | ||
lint = [ | ||
"black==23.12.1", | ||
"flake8", | ||
"Flake8-pyproject", | ||
"isort", | ||
"mypy", | ||
"types-requests", | ||
] | ||
test = [ | ||
"packaging", | ||
"pytest", | ||
] | ||
release = [ | ||
"build", | ||
"towncrier", | ||
"twine", | ||
] | ||
|
||
[build-system] | ||
requires = ['setuptools>=62', 'wheel'] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.packages] | ||
find = {where = ["src"], namespaces = false} | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "resolvelib.__version__"} | ||
|
||
[tool.distutils.bdist_wheel] | ||
universal = true | ||
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. With the project only supporting Python 3 now, this should be false. Otherwise, the wheels will keep being tagged as 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. |
||
|
||
|
||
[tool.black] | ||
line-length = 79 | ||
|
@@ -33,3 +91,28 @@ showcontent = true | |
directory = 'trivial' | ||
name = 'Trivial Changes' | ||
showcontent = false | ||
|
||
[tool.flake8] | ||
max-line-length = 88 | ||
select = ["C","E","F","W","B"] | ||
ignore = ["E203", "W503", "F401"] | ||
exclude = [ | ||
".git", | ||
".venv", | ||
".venvs", | ||
".nox", | ||
"__pycache__", | ||
"build", | ||
"dist", | ||
"*.pyi" | ||
] | ||
|
||
[tool.mypy] | ||
warn_unused_configs = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = [ | ||
"html5lib", | ||
"packaging.*" | ||
] | ||
ignore_missing_imports = true |
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.
#175