@@ -12,6 +12,110 @@ version_scheme = "no-guess-dev"
1212check_python_h_first = " check_python_h_first.__main__:main"
1313
1414[project ]
15- dynamic = [" version" , " readme" , " optional-dependencies" ]
1615name = " check-python-h-first"
1716description = " Script to check whether Python.h is included first in any relevant files."
17+ authors = [{name = " DWesl" , email = " 22566757+DWesl@users.noreply.github.com" }]
18+ license = {text = " BSD-3-Clause" }
19+ # Add here all kinds of additional classifiers as defined under
20+ # https://pypi.org/classifiers/
21+ classifiers = [
22+ " Development Status :: 4 - Beta" ,
23+ " Programming Language :: Python" ,
24+ ]
25+ # Add here dependencies of your project (line-separated), e.g. requests>=2.2,<3.0.
26+ # Version specifiers like >=2.2,<3.0 avoid problems due to API changes in
27+ # new major versions. This works if the required packages follow Semantic Versioning.
28+ # For more information, check out https://semver.org/.
29+ dependencies = [' importlib-metadata; python_version<"3.8"' ]
30+ dynamic = [" version" ]
31+ # Require a min/specific Python version (comma-separated conditions)
32+ # python_requires = [">=3.8"]
33+
34+ [project .readme ]
35+ file = " README.rst"
36+ content-type = " text/x-rst; charset=UTF-8"
37+
38+ # Add here related links, for example:
39+ [project .urls ]
40+ Homepage = " https://github.com/pyscaffold/pyscaffold/"
41+ Documentation = " https://pyscaffold.org/"
42+ # Source = https://github.com/pyscaffold/pyscaffold/
43+ # Changelog = https://pyscaffold.org/en/latest/changelog.html
44+ # Tracker = https://github.com/pyscaffold/pyscaffold/issues
45+ # Conda-Forge = https://anaconda.org/conda-forge/pyscaffold
46+ # Download = https://pypi.org/project/PyScaffold/#files
47+ # Twitter = https://twitter.com/PyScaffold
48+
49+ [project .optional-dependencies ]
50+ # Add here additional requirements for extra features, to install with:
51+ # `pip install check-python-h-first[PDF]` like:
52+ # PDF = ReportLab; RXP
53+ # Add here test requirements (semicolon/line-separated)
54+ testing = [
55+ " setuptools" ,
56+ " pytest" ,
57+ " pytest-cov" ,
58+ ]
59+
60+ [project .entry-points ]
61+ # Add here console scripts like:
62+ # console_scripts =
63+ # script_name = check_python_h_first.module:function
64+ # For example:
65+ # console_scripts =
66+ # fibonacci = check_python_h_first.skeleton:run
67+ # And any other entry points, for example:
68+ # pyscaffold.cli =
69+ # awesome = pyscaffoldext.awesome.extension:AwesomeExtension
70+
71+ [tool .setuptools ]
72+ zip-safe = false
73+ include-package-data = true
74+ package-dir = {"" = " src" }
75+ # Change if running only on Windows, Mac or Linux (comma-separated)
76+ platforms = [" any" ]
77+ license-files = [" LICENSE.txt" ]
78+
79+ [tool .setuptools .packages .find ]
80+ where = [" src" ]
81+ exclude = [" tests" ]
82+ namespaces = true
83+
84+ [tool .pytest .ini_options ]
85+ # Specify command line options as you would do when invoking pytest directly.
86+ # e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
87+ # in order to write a coverage file that can be read by Jenkins.
88+ # CAUTION: --cov flags may prohibit setting breakpoints while debugging.
89+ # Comment those flags to avoid this pytest issue.
90+ addopts = """
91+ --cov check_python_h_first --cov-report term-missing
92+ --verbose"""
93+ norecursedirs = [
94+ " dist" ,
95+ " build" ,
96+ " .tox" ,
97+ ]
98+ testpaths = [" tests" ]
99+ # Use pytest markers to select/deselect specific tests
100+ # markers =
101+ # slow: mark tests as slow (deselect with '-m "not slow"')
102+ # system: mark end-to-end system tests
103+
104+ [tool .devpi .upload ]
105+ # Options for the devpi: PyPI server and packaging tool
106+ # VCS export must be deactivated since we are using setuptools-scm
107+ no_vcs = " 1"
108+ formats = " bdist_wheel"
109+
110+ [tool .pyscaffold ]
111+ # PyScaffold's parameters when the project was created.
112+ # This will be used when updating. Do not change!
113+ version = " 4.6"
114+ package = " check_python_h_first"
115+ extensions = """
116+ github_actions
117+ pre_commit"""
118+ # This file is used to configure your project.
119+ # Read more about the various options under:
120+ # https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
121+ # https://setuptools.pypa.io/en/latest/references/keywords.html
0 commit comments