diff --git a/pyproject.toml b/pyproject.toml index fcac50e..4443f72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,32 +1,39 @@ [build-system] -requires = ["setuptools>=42", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" -[project] +[tool.poetry] name = "environmental_insights" version = "0.1.7b0" description = "A Python package for democratizing access to ambient air pollution data and predictive analytics." authors = [ - { name="Liam J. Berrisford", email="l.berrisford@exeter.ac.uk" } + { name = "Liam J. Berrisford", email = "l.berrisford@exeter.ac.uk" } ] -license = { text="GNU General Public License v3 (GPLv3)" } +license = "GPL-3.0-or-later" keywords = ["air pollution", "predictive analytics", "environmental data", "geospatial analysis"] readme = "README.md" +packages = [ + { include = "environmental_insights" } # Adjust if your package directory has a different name +] +[tool.poetry.dependencies] +python = "^3.9" +geopandas = "*" +lightgbm = "*" +matplotlib = "*" +overpy = "*" +pandas = "*" +pyarrow = "*" +pyogrio = "*" +requests = "*" +rpy2 = "*" +scipy = "*" +shapely = "*" -dependencies = [ - "geopandas", - "lightgbm", - "matplotlib", - "overpy", - "pandas", - "pyarrow", - "pyogrio", - "requests", - "rpy2", - "scipy", - "shapely" -] +[tool.poetry.dev-dependencies] +# Add your development dependencies here if needed, e.g.: +# pytest = "^6.2" -[tool.setuptools.packages.find] -where = ["."] +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api"