From 5edcb2bc55156fbc2bc34eff6f087c26045942b0 Mon Sep 17 00:00:00 2001 From: Tammo van der Heide Date: Mon, 23 Sep 2024 11:20:30 +0200 Subject: [PATCH] Migrate hsd's setup.cfg to pyproject.toml --- pyproject.toml | 29 +++++++++++++++++++++++++++-- setup.cfg | 31 ------------------------------- 2 files changed, 27 insertions(+), 33 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index 9787c3b..e0efab4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,28 @@ [build-system] -requires = ["setuptools", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "hsd" +version = "0.1" +authors = [{name = "DFTB+ developers group"}, {email = "info@dftbplus.org"},] +dependencies = ["numpy", "scipy"] +requires-python = ">=3.2" +description = "Tools for reading, writing and manipulating data stored in the human-friendly structured data (HSD) format" +readme = {file = "README.rst", content-type = "text/x-rst"} +license = {text = "BSD"} +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3", + "Environment :: Console", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering", +] + +[project.urls] +Homepage = "http://www.dftbplus.org" +Documentation = "https://hsd-python.readthedocs.io/en/latest/" +Repository = "https://github.com/dftbplus/hsd-python.git" +Issues = "https://github.com/dftbplus/hsd-python/issues" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 846166c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,31 +0,0 @@ -[metadata] -name = hsd -version = 0.1 -author = DFTB+ developers group -author_email = info@dftbplus.org -url = https://github.com/dftbplus/hsd-python -description = - Tools for reading, writing and manipulating data stored in the human-friendly - structured data (HSD) format -long_description = file: README.rst -long_description_content_type = text/x-rst -license = BSD -license_file = LICENSE -platform = any -classifiers = - Intended Audience :: Developers - License :: OSI Approved :: BSD License - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.7 - -[options] -include_package_data = True -package_dir = - = src -packages = hsd - -[options.packages.find] -where = src