From dd6f20fc7929125e4bb874503e6627242302664a Mon Sep 17 00:00:00 2001 From: Keigh Rim Date: Sat, 24 Aug 2024 09:45:28 -0400 Subject: [PATCH] fixing packaging issues, fully migrated to pyproject --- pyproject.toml | 22 ++++++++++++++++++++++ requirements.txt | 3 --- setup.cfg | 16 ---------------- setup.py | 3 --- 4 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 pyproject.toml delete mode 100644 requirements.txt delete mode 100644 setup.cfg delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9d3d1f6 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[build-system] +requires = ["setuptools", "setuptools-git-versioning<2"] +build-backend = "setuptools.build_meta" + +[tool.setuptools-git-versioning] +enabled = true + +[project] +name = "clams-utils" +description = "a collection of smaller helper/utility code of CLAMS platform" +readme = "README.md" +license = {text = "Apache-2.0"} +authors = [{name = "Brandeis Lab for Linguistics and Computation", email = "admin@clams.ai"}] +dependencies = [ + "requests", + "lapps", + "mmif-python", +] +dynamic = ["version"] + +[project.scripts] +clams-aapb = "clams_utils.aapb.converter_aapbjson:main" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 8c598e3..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -requests -mmif-python>=1.0.19 -lapps diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 85b5e4c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,16 +0,0 @@ -[metadata] -name = clams-utils -long_description = file: README.md -license = Apache-2.0 -author = "Brandeis Lab for Linguistics and Computation" -author_email = "admin@clams.ai" - -[options] -packages = find: -install_requires = - requests - mmif-python - -[options.entry_points] -console_scripts = - clams-aapb = clams_utils.aapb.converter_aapbjson:main \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index fc1f76c..0000000 --- a/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup() \ No newline at end of file