Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 requires = [
3 "setuptools",
4 "versioneer[toml]",
5 "rnc2rng>=2.6.1,!=2.6.2",
6 "lxml",
7 ]
8 build-backend = "setuptools.build_meta"
9
10 [project]
11 dynamic = [ "version", "readme" ]
12 name = "citeproc-py"
13 authors= [ { name = "Brecht Machiels", email = "[email protected]" } ]
14 urls = { homepage = "https://github.com/citeproc-py/citeproc-py" }
15 description = "Citations and bibliography formatter"
16
17 keywords = [ "csl", "citation", "html", "rst", "bibtex", "xml" ]
18 license = "BSD-2-Clause-Views"
19 license-files = [ "LICENSE" ]
20 classifiers = [
21 "Development Status :: 3 - Alpha",
22 "Environment :: Console",
23 "Environment :: Other Environment",
24 "Environment :: Web Environment",
25 "Intended Audience :: Developers",
26 "Intended Audience :: Education",
27 "Intended Audience :: End Users/Desktop",
28 "Intended Audience :: Legal Industry",
29 "Intended Audience :: Other Audience",
30 "Intended Audience :: Science/Research",
31 "Operating System :: OS Independent",
32 "Programming Language :: Python",
33 "Programming Language :: Python :: 3.9",
34 "Programming Language :: Python :: 3.10",
35 "Programming Language :: Python :: 3.11",
36 "Programming Language :: Python :: 3.12",
37 "Programming Language :: Python :: 3.13",
38 "Programming Language :: Python :: 3.14",
39 "Topic :: Documentation",
40 "Topic :: Printing",
41 "Topic :: Software Development :: Documentation",
42 "Topic :: Software Development :: Libraries :: Python Modules",
43 ]
44
45 requires-python = ">=3.9"
46 dependencies = [ "lxml" ]
47 [project.optional-dependencies]
48 full = [ "citeproc-py-styles" ]
49 tests = [ "citeproc-py-styles", "tox"]
50
51 [project.scripts]
52 csl_unsorted = "citeproc.scripts.csl_unsorted:main"
53
54 [tool.setuptools]
55 provides = [ "citeproc" ]
56 package-data.citeproc = [
57 "data/locales/*.xml",
58 "data/locales/locales.json",
59 "data/schema/schemas/styles/*.rng",
60 "data/styles/*.csl",
61 ]
62 [tool.setuptools.dynamic]
63 version = { attr = "citeproc.__version__" }
64 readme = { file = [ "README.md", "CHANGELOG.md" ], content-type = "text/markdown" }
65
66 [tool.coverage.run]
67 # the tests run against the installed package, so measure it by import name
68 source_pkgs = [ "citeproc" ]
69 parallel = true
70 relative_files = true
71 # _version is generated by versioneer at build time, not indicative of coverage of the source code
72 omit = [ "**/citeproc/_version.py" ]
73
74 [tool.coverage.paths]
75 # map the installed package back onto the source tree when combining
76 citeproc = [ "citeproc", "*/site-packages/citeproc" ]
77
78 [tool.versioneer]
79 VCS = "git"
80 style = "pep440"
81 versionfile_source = "citeproc/_version.py"
82 versionfile_build = "citeproc/_version.py"
83 tag_prefix = "v"
84 parentdir_prefix = "citeproc-"