From c72bbc0da391c7e82978e6b0d7e649526252a805 Mon Sep 17 00:00:00 2001 From: Ian Bolliger Date: Fri, 15 Nov 2024 14:40:24 -0800 Subject: [PATCH 1/3] add dask to deps --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index e3a0ea9..9f03239 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,6 +15,7 @@ classifiers = packages = find: include_package_data = True requires = cloudpathlib + dask distributed gitpython numpy From f246ffa44bb73a6ed4c060ce3b633971246641f2 Mon Sep 17 00:00:00 2001 From: Ian Bolliger Date: Fri, 15 Nov 2024 15:17:57 -0800 Subject: [PATCH 2/3] drop setup.cfg b/c not being used for pip install --- pyproject.toml | 38 ++++++++++++++++++++++++++++++++++++++ setup.cfg | 30 ------------------------------ 2 files changed, 38 insertions(+), 30 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index bd03111..65892aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,3 +10,41 @@ build-backend = "setuptools.build_meta" profile = "black" [tool.setuptools_scm] + +[project] +name = "python-CIAM" +description = "An efficient Python implementation of the Coastal Impacts and Adaptation Model (CIAM)" +readme = "README.md" +authors = [{ name = "Ian Bolliger", email = "ian@reask.earth"}, { name = "Nicholas Depsky", email = "nicholas.depsky@undp.org" }] +maintainers = [{ name = "Ian Bolliger", email = "ian@reask.earth"}] +dependencies = [ + "cloudpathlib", + "dask", + "distributed", + "gitpython", + "numpy", + "rhg_compute_tools", + "pandas", + "parameterize_jobs", + "pint-xarray", + "scipy", + "scikit-learn", + "xarray", + "zarr" +] +requires-python = ">=3.6" +dynamic = ["version"] + +[project.urls] +"Homepage" = "https://github.com/ClimateImpactLab/pyCIAM" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent" +] + +[tool.setuptools] +include-package-data = true + +[tool.setuptools.packages.find] +where = ["."] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 9f03239..0000000 --- a/setup.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[metadata] -name = python-CIAM -description = An efficient Python implementation of the Coastal Impacts and Adaptation Model (CIAM) -long_description = file: README.md -long_description_content_type = text/markdown -author = Ian Bolliger, Nicholas Depsky -author_email = ian.bolliger@blackrock.com -url = https://gitlab.com/ClimateImpactLab/coastal/projects/pyciam -classifiers = - Programming Language :: Python :: 3 - License :: OSI Approved :: MIT License - Operating System :: OS Independent - -[options] -packages = find: -include_package_data = True -requires = cloudpathlib - dask - distributed - gitpython - numpy - rhg_compute_tools - pandas - parameterize_jobs - pint-xarray - scipy - scikit-learn - xarray - zarr -python_requires = >=3.6 \ No newline at end of file From fab457bf26f41de7f989ddbc25d95ed4f3f763a0 Mon Sep 17 00:00:00 2001 From: Ian Bolliger Date: Fri, 15 Nov 2024 15:20:17 -0800 Subject: [PATCH 3/3] fix classifiers --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 65892aa..c2ee927 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,15 +34,15 @@ dependencies = [ ] requires-python = ">=3.6" dynamic = ["version"] - -[project.urls] -"Homepage" = "https://github.com/ClimateImpactLab/pyCIAM" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent" ] +[project.urls] +"Homepage" = "https://github.com/ClimateImpactLab/pyCIAM" + [tool.setuptools] include-package-data = true