From 0a724b5ed612f219d77211a5be2891504d834ac9 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 1 Feb 2023 14:14:46 +0100 Subject: [PATCH] Using pyproject.toml only, discarding setup.cfg --- pyproject.toml | 26 +++++++++++++++++++++++--- setup.cfg | 27 --------------------------- 2 files changed, 23 insertions(+), 30 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index 6fe23d7..78e1aa0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,25 @@ [build-system] -requires = [ - "setuptools>=61.0" -] +requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" + +[project] +name = "vipscore_common" +version = "0.6.2" +description = "Tools for the VIPSCore-Python web services and its models" +readme = "README.md" +authors = [{ name="Tor-Einar Skog", email="tor-einar.skog@nibio.no" }] +license = { file = "LICENSE"} +classifiers = [ + "Programming Language :: Python :: 3", + "License :: NIBIO Open Source License", + "Operating System :: OS Independent", +] +dependencies = [ + "shapely", + "pydantic", + "pytz", + "pandas" +] + +requires-python = ">=3.9" + diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index fafee8a..0000000 --- a/setup.cfg +++ /dev/null @@ -1,27 +0,0 @@ -[metadata] -name = vipscore_common -version = 0.6.2 -author = Tor-Einar Skog -author_email = tor-einar.skog@nibio.no -description = Tools for the VIPSCore-Python web services and its models -long_description = file: README.md -long_description_content_type = text/markdown -url = https://www.vips-landbruk.no -classifiers = - Programming Language :: Python :: 3 - License :: NIBIO Open Source License - Operating System :: OS Independent - -[options] -package_dir = - = src -packages = find: -python_requires = >=3.7 -install_requires = - shapely - pydantic - pytz - pandas - -[options.packages.find] -where = src \ No newline at end of file -- GitLab