[build-system] requires = [ "setuptools", "versioneer[toml]", "rnc2rng>=2.6.1,!=2.6.2", "lxml", ] build-backend = "setuptools.build_meta" [project] dynamic = [ "version", "readme" ] name = "citeproc-py" authors= [ { name = "Brecht Machiels", email = "brecht@mos6581.org" } ] urls = { homepage = "https://github.com/citeproc-py/citeproc-py" } description = "Citations and bibliography formatter" keywords = [ "csl", "citation", "html", "rst", "bibtex", "xml" ] license = "BSD-2-Clause-Views" license-files = [ "LICENSE" ] classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Other Environment", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: End Users/Desktop", "Intended Audience :: Legal Industry", "Intended Audience :: Other Audience", "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python", "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 :: 3.14", "Topic :: Documentation", "Topic :: Printing", "Topic :: Software Development :: Documentation", "Topic :: Software Development :: Libraries :: Python Modules", ] requires-python = ">=3.9" dependencies = [ "lxml" ] [project.optional-dependencies] full = [ "citeproc-py-styles" ] tests = [ "citeproc-py-styles", "tox"] [project.scripts] csl_unsorted = "citeproc.scripts.csl_unsorted:main" [tool.setuptools] provides = [ "citeproc" ] package-data.citeproc = [ "data/locales/*.xml", "data/locales/locales.json", "data/schema/schemas/styles/*.rng", "data/styles/*.csl", ] [tool.setuptools.dynamic] version = { attr = "citeproc.__version__" } readme = { file = [ "README.md", "CHANGELOG.md" ], content-type = "text/markdown" } [tool.coverage.run] # the tests run against the installed package, so measure it by import name source_pkgs = [ "citeproc" ] parallel = true relative_files = true # _version is generated by versioneer at build time, not indicative of coverage of the source code omit = [ "**/citeproc/_version.py" ] [tool.coverage.paths] # map the installed package back onto the source tree when combining citeproc = [ "citeproc", "*/site-packages/citeproc" ] [tool.versioneer] VCS = "git" style = "pep440" versionfile_source = "citeproc/_version.py" versionfile_build = "citeproc/_version.py" tag_prefix = "v" parentdir_prefix = "citeproc-"