mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-12-22 12:12:18 +01:00
Alan Orth
1491e1edb0
All checks were successful
continuous-integration/drone/push Build is passing
When we install and run this from CI, this file needs to exist in the package's folder inside site-packages. Then we can use __file__ to get the path relative to the package. See: https://python-packaging.readthedocs.io/en/latest/non-code-files.html
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
import setuptools
|
|
|
|
with open("README.md", "r") as fh:
|
|
long_description = fh.read()
|
|
|
|
install_requires = [
|
|
"pandas",
|
|
"python-stdnum",
|
|
"requests",
|
|
"requests-cache",
|
|
"pycountry",
|
|
"langid",
|
|
]
|
|
|
|
setuptools.setup(
|
|
name="csv-metadata-quality",
|
|
version="0.6.1",
|
|
author="Alan Orth",
|
|
author_email="aorth@mjanja.ch",
|
|
description="A simple, but opinionated CSV quality checking and fixing pipeline for CSVs in the DSpace ecosystem.",
|
|
license="GPLv3",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/alanorth/csv-metadata-quality",
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
packages=["csv_metadata_quality"],
|
|
entry_points={
|
|
"console_scripts": ["csv-metadata-quality = csv_metadata_quality.__main__:main"]
|
|
},
|
|
include_package_data=True,
|
|
install_requires=install_requires,
|
|
)
|