diff --git a/geojson_shave/__init__.py b/geojson_shave/__init__.py index c148a21..b21da25 100644 --- a/geojson_shave/__init__.py +++ b/geojson_shave/__init__.py @@ -2,4 +2,4 @@ __author__ = """Ben Nour""" __email__ = "hello@ben-nour.com" -__version__ = "0.1.2" +__version__ = "0.2.0" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2d7c63f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,35 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "geojson-shave" +description = "A command-line tool for reducing the size of GeoJSON files." +authors = [ + { name = "Ben Nour", email = "hello@ben-nour.com" } +] +version = "0.2.0" +dependencies = [ + "alive-progress~=3.1.5", + "humanize~=4.9.0" +] +classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12" +] +keywords = ["geojson"] +license = { file = "LICENSE" } +readme = "README.md" +requires-python = ">=3.8" + +[project.urls] +homepage = "https://github.com/ben-n93/geojson-shave" +repository = "https://github.com/ben-n93/geojson-shave" + +[project.scripts] +geojson-shave = "geojson_shave.geojson_shave:main" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 0394acd..0000000 --- a/setup.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[metadata] -name = geojson-shave -version = 0.1.2 -author = Ben Nour -author_email = hello@ben-nour.com -description = A command-line tool for reducing the size of GeoJSON files. -long_description = file: README.md -long_description_content_type = text/markdown -license = MIT -url = https://github.com/ben-n93/geojson-shave -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Environment :: Console - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - -[options] -install_requires = - alive-progress - humanize - -[options.entry_points] -console_scripts = - geojson-shave = geojson_shave.geojson_shave:main diff --git a/setup.py b/setup.py deleted file mode 100644 index 7f1a176..0000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -from setuptools import setup - -if __name__ == "__main__": - setup()