⚙ Migrate to pyproject.toml
parent
acd9c5cd4b
commit
187da054b0
@ -0,0 +1,47 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0.0", "wheel"]
|
||||
|
||||
[project]
|
||||
name = "mods4pandas"
|
||||
version = "0.0.0"
|
||||
authors = [
|
||||
{name = "Mike Gerber", email = "mike.gerber@sbb.spk-berlin.de"},
|
||||
{name = "The QURATOR SPK Team", email = "qurator@sbb.spk-berlin.de"},
|
||||
]
|
||||
description = "Convert MODS metadata to a pandas DataFrame"
|
||||
readme = "README.md"
|
||||
license.file = "LICENSE"
|
||||
requires-python = ">=3.8"
|
||||
keywords = ["qurator", "mets", "mods", "metadata", "library"]
|
||||
|
||||
dynamic = ["dependencies", "optional-dependencies"]
|
||||
|
||||
# https://pypi.org/classifiers/
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Environment :: Console",
|
||||
"Intended Audience :: Science/Research",
|
||||
"Intended Audience :: Other Audience",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Topic :: Scientific/Engineering :: Information Analysis",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
mods4pandas="qurator.mods4pandas.mods4pandas:main"
|
||||
alto4pandas="qurator.mods4pandas.alto4pandas:main"
|
||||
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/qurator-spk/mods4pandas"
|
||||
Repository = "https://github.com/qurator-spk/mods4pandas.git"
|
||||
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
dependencies = {file = ["requirements.txt"]}
|
||||
optional-dependencies.dev = {file = ["requirements-dev.txt"]}
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["qurator"]
|
@ -1,29 +0,0 @@
|
||||
from io import open
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
with open('requirements.txt') as fp:
|
||||
install_requires = fp.read()
|
||||
with open('requirements-test.txt') as fp:
|
||||
tests_requires = fp.read()
|
||||
|
||||
setup(
|
||||
name='mods4pandas',
|
||||
author='Mike Gerber, The QURATOR SPK Team',
|
||||
author_email='mike.gerber@sbb.spk-berlin.de, qurator@sbb.spk-berlin.de',
|
||||
description='Convert MODS metadata to a pandas DataFrame',
|
||||
long_description=open('README.md', 'r', encoding='utf-8').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
keywords='qurator mets mods library',
|
||||
license='Apache',
|
||||
namespace_packages=['qurator'],
|
||||
packages=find_packages(exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
|
||||
install_requires=install_requires,
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'mods4pandas=qurator.mods4pandas.mods4pandas:main',
|
||||
'alto4pandas=qurator.mods4pandas.alto4pandas:main',
|
||||
]
|
||||
},
|
||||
python_requires='>=3.0.0',
|
||||
tests_requires=tests_requires,
|
||||
)
|
Loading…
Reference in New Issue