Replace setup.py the pyproject.toml
Change-Id: I04313e47ee92edd1a8cd3ad6c3f13da3450831a3
diff --git a/pyproject.toml b/pyproject.toml
index 9e2c08b..038a572 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -13,7 +13,7 @@
"rpy2>=3.3",
]
requires-python = ">=3.7"
-readme = "README.md"
+readme = "Readme.md"
license = {text = "BSD"}
classifiers = [
"Intended Audience :: Developers",
@@ -34,6 +34,8 @@
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
+[tool.setuptools.packages.find]
+exclude = ["figures"]
[tool.pdm]
distribution = true
diff --git a/setup.py b/setup.py
deleted file mode 100644
index 1a29442..0000000
--- a/setup.py
+++ /dev/null
@@ -1,39 +0,0 @@
-from setuptools import setup, find_packages
-
-with open("Readme.md", "r") as fh:
- long_description = fh.read()
-
-setup(
- name="KorAPClient",
- version="0.7.5.9000",
- author="Marc Kupietz",
- author_email="kupietz@ids-mannheim.de",
- description="Client package to access KorAP's web service API",
- long_description=long_description,
- long_description_content_type="text/markdown",
- url="https://www1.ids-mannheim.de/kl/projekte/korap.html",
- license="BSD",
- packages=find_packages(),
- classifiers=[
- "Programming Language :: Python :: 3",
- 'Programming Language :: Python :: 3.7',
- 'Programming Language :: Python :: 3.8',
- 'Programming Language :: Python :: 3.9',
- 'Programming Language :: Python :: 3.10',
- 'Programming Language :: Python :: 3.11',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Intended Audience :: Developers',
- 'Intended Audience :: Science/Research',
- ],
- scripts=['bin/korapclient'],
- test_suite='nose.collector',
- tests_require=['nose'],
- python_requires='>=3.7',
- install_requires=[
- 'rpy2>=3.3',
- 'pandas>=1.2',
- 'packaging',
- 'markdown'
- ]
-)