-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from theyashl/feature-setup.py_to_pyproject.toml
Migrate setup.py to pyproject.toml
- Loading branch information
Showing
2 changed files
with
56 additions
and
90 deletions.
There are no files selected for viewing
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,56 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "invectio" | ||
urls = { url = "https://github.com/thoth-station/invectio" } | ||
description = "Statically analyze sources and extract information about called and exported library functions in Python applications" | ||
readme = "README.rst" | ||
authors = [ | ||
{ name = "Fridolin Pokorny", email = "[email protected]" } | ||
] | ||
maintainers = [ | ||
{ name = "Fridolin Pokorny", email = "[email protected]" } | ||
] | ||
license = { text = "GPLv3+" } | ||
classifiers = [ | ||
"Operating System :: POSIX :: Linux", | ||
"Topic :: Software Development", | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9" | ||
] | ||
keywords = [ "ast", "source", "code", "analysis", "thoth", "library" ] | ||
dynamic = [ "version", "dependencies" ] | ||
|
||
[project.scripts] | ||
invectio = "invectio.cli:cli" | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "invectio.__version__"} | ||
dependencies = { file = ["requirements.txt"] } | ||
|
||
[tool.setuptools.package-data] | ||
invectio = ["py.typed"] | ||
|
||
[tool.setuptools.packages.find] | ||
namespaces = false | ||
|
||
[tool.pytest.ini_options] | ||
pythonpath = ["."] | ||
addopts = "--timeout=60 --cov --mypy --capture=no --verbose --ignore=tests/data/ -l -s -vv" | ||
testpaths = [ | ||
"tests" | ||
] | ||
|
||
[tool.coverage.run] | ||
source = ["invectio"] |