-
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Convert to PEP-517 project * Move pylint and coverage configs to pyproject.toml * Remove autogenerated C files
- Loading branch information
Showing
12 changed files
with
160 additions
and
268,889 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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,101 @@ | ||
[build-system] | ||
requires = ["setuptools", "Cython"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "dependency-injector" | ||
authors = [ | ||
{name = "Roman Mogylatov", email = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name = "Roman Mogylatov", email = "[email protected]"}, | ||
] | ||
description = "Dependency injection framework for Python" | ||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
license = {file = "LICENSE.rst", content-type = "text/x-rst"} | ||
requires-python = ">=3.7" | ||
keywords = [ | ||
"Dependency injection", | ||
"DI", | ||
"Inversion of Control", | ||
"IoC", | ||
"Factory", | ||
"Singleton", | ||
"Design patterns", | ||
"Flask", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"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", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Framework :: AsyncIO", | ||
"Framework :: Bottle", | ||
"Framework :: Django", | ||
"Framework :: Flask", | ||
"Framework :: Pylons", | ||
"Framework :: Pyramid", | ||
"Framework :: Pytest", | ||
"Framework :: TurboGears", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dynamic = ["version"] | ||
dependencies = ["six"] | ||
|
||
[project.optional-dependencies] | ||
yaml = ["pyyaml"] | ||
pydantic = ["pydantic"] | ||
flask = ["flask"] | ||
aiohttp = ["aiohttp"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/ets-labs/python-dependency-injector" | ||
Documentation = "https://python-dependency-injector.ets-labs.org/" | ||
Download = "https://pypi.python.org/pypi/dependency_injector" | ||
|
||
[tool.setuptools] | ||
package-dir = {"" = "src"} | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.package-data] | ||
dependency_injector = ["*.pxd", "*.pyi", "py.typed"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "dependency_injector.__version__"} | ||
|
||
[tool.coverage.run] | ||
branch = false | ||
relative_files = true | ||
source_pkgs = ["dependency_injector"] | ||
plugins = ["Cython.Coverage"] | ||
|
||
[tool.coverage.html] | ||
directory = "reports/unittests/" | ||
|
||
[tool.coverage.report] | ||
show_missing = true | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.pylint.main] | ||
ignore = ["tests"] | ||
|
||
[tool.pylint.design] | ||
min-public-methods = 0 | ||
max-public-methods = 30 |
This file contains 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 |
---|---|---|
|
@@ -5,6 +5,7 @@ pytest-asyncio | |
tox | ||
coverage | ||
flake8 | ||
flake8-pyproject | ||
pydocstyle | ||
sphinx_autobuild | ||
pip | ||
|
Oops, something went wrong.