From 275de2dba5567305ab2ec7daf18b3f769705fb2a Mon Sep 17 00:00:00 2001 From: Gorka Garcia <114485898+garciagorkauni@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:14:29 +0200 Subject: [PATCH] Change setup.py for pyproject.toml --- python/gpolyencode.py => gpolyencode.py | 0 pyproyect.toml | 28 ++++++++++++++++++++++++ python/setup.py | 29 ------------------------- 3 files changed, 28 insertions(+), 29 deletions(-) rename python/gpolyencode.py => gpolyencode.py (100%) create mode 100644 pyproyect.toml delete mode 100644 python/setup.py diff --git a/python/gpolyencode.py b/gpolyencode.py similarity index 100% rename from python/gpolyencode.py rename to gpolyencode.py diff --git a/pyproyect.toml b/pyproyect.toml new file mode 100644 index 0000000..d39efdc --- /dev/null +++ b/pyproyect.toml @@ -0,0 +1,28 @@ +[project] +name = "py-gpolyencode" +version = "0.2.1" +authors = [ + {name = "Robert Coup", email = "robert.coup@koordinates.com"}, +] +description = "Google Maps Polyline encoding (pure Python)" +readme = "README.md" +license = {file = "LICENSE"} +keywords = ["gis", "geospatial", "google-maps", "gmaps", "mapping"] +classifiers=[ + "Development Status :: 4 - Beta", + "Environment :: Web Environment", + "License :: OSI Approved :: BSD License", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Topic :: Scientific/Engineering :: GIS", + "Topic :: Utilities", +] +dynamic = ["dependencies"] + +[project.urls] +Homepage = "https://github.com/codesyntax/py-gpolyencode" +Documentation = "https://github.com/codesyntax/py-gpolyencode/blob/master/README.md" +Repository = "https://github.com/codesyntax/py-gpolyencode" +"Bug Tracker" = "https://github.com/codesyntax/py-gpolyencode/issues" +# Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md" \ No newline at end of file diff --git a/python/setup.py b/python/setup.py deleted file mode 100644 index de8854b..0000000 --- a/python/setup.py +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python - -try: - from setuptools import setup, Extension -except: - from distutils.core import setup, Extension - -setup( - name="py-gpolyencode", - version="0.2.1", - description="Google Maps Polyline encoding (pure Python)", - long_description="Encode line & polygon coordinates for use in Google Maps.", - author="Robert Coup", - author_email="robert.coup@koordinates.com", - provides=["gpolyencode"], - keywords="gis,geospatial,google-maps,gmaps,mapping", - url="http://code.google.com/p/py-gpolyencode/", - py_modules=["gpolyencode"], - classifiers=[ - "Development Status :: 4 - Beta", - "Environment :: Web Environment", - "License :: OSI Approved :: BSD License", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Utilities", - ], -)