diff options
-rw-r--r-- | pyproject.toml | 8 | ||||
-rw-r--r-- | setup.py | 33 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..dc65b2d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,8 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta:__legacy__" + +#[tool.pytest.ini_options] +#python_files = tests/*.py grobid_tei_xml/*.py +#log_level = INFO + diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..88783ed --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +import setuptools + +from grobid_tei_xml import __version__ + +with open("README.md", "r") as fh: + long_description = fh.read() + + setuptools.setup( + name="grobid_tei_xml", + version=__version__, + author="Bryan Newbold", + author_email="bnewbold@archive.org", + description="parser and transforms for GROBID-flavor TEI-XML", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://gitlab.com/internetarchive/grobid_tei_xml", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires=">=3.8", + install_requires=[], + extras_require={"dev": [ + #"isort", + "mypy", + "pylint", + "pytest", + "pytest-cov", + "yapf", + ],}, + ) |