diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-21 14:03:27 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-21 14:03:27 -0700 |
commit | 9f349131a6c05d90431d8c51b7272d5a6cf48fd1 (patch) | |
tree | 7a20ff7a60b67a0765d7a25b5683e6adedac9174 | |
parent | add401b621068e0a1ebcf181b6040c48194624aa (diff) | |
download | grobid_tei_xml-9f349131a6c05d90431d8c51b7272d5a6cf48fd1.tar.gz grobid_tei_xml-9f349131a6c05d90431d8c51b7272d5a6cf48fd1.zip |
basic setup.py python package stuff
-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", + ],}, + ) |