diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 9e66c9f8..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,8 +0,0 @@ -include README.rst CHANGES LICENSE -recursive-include leaflet/locale *.mo -recursive-include leaflet/templates *.html *.js -recursive-include leaflet/static *.css -recursive-include leaflet/static *.js -recursive-include leaflet/static *.map -recursive-include leaflet/static *.png -recursive-include leaflet/static *.svg diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..427a3c49 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,41 @@ +[build-system] +requires = ["setuptools>=64"] +build-backend = "setuptools.build_meta" + +[project] +name = "django-leaflet" +description = "A Django map widget using Leaflet" +version = "0.32.1dev" +readme = "README.rst" +license = "LGPL-3.0-only" +authors = [ + {name = "Mathieu Leplatre", email = "mathieu.leplatre@makina-corpus.com"}, +] +maintainers = [ + {name = "Gagaro", email = "gagaro42@gmail.com"} +] +requires-python = ">= 3.9" +dependencies = [ + "django", +] +classifiers = [ + "Topic :: Utilities", + "Natural Language :: English", + "Operating System :: OS Independent", + "Intended Audience :: Developers", + "Environment :: Web Environment", + "Framework :: Django", + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", +] + + +[project.urls] +Homepage = "https://github.com/makinacorpus/django-leaflet/" +Changelog = "https://github.com/makinacorpus/django-leaflet/blob/master/CHANGES" +Download = "https://pypi.org/project/django-leaflet/" diff --git a/setup.py b/setup.py deleted file mode 100644 index 0f42780e..00000000 --- a/setup.py +++ /dev/null @@ -1,49 +0,0 @@ - -import os -from setuptools import setup, find_packages - -here = os.path.abspath(os.path.dirname(__file__)) - -requires = [ - 'Django', -] - -with open(os.path.join(here, 'README.rst')) as f: - long_descr = f.read() -with open(os.path.join(here, 'CHANGES')) as f: - long_descr += '\n\n' + f.read() - -setup( - name='django-leaflet', - version='0.32.1dev', - author='Mathieu Leplatre', - author_email='mathieu.leplatre@makina-corpus.com', - url='https://github.com/makinacorpus/django-leaflet', - download_url="http://pypi.python.org/pypi/django-leaflet/", - description="Use Leaflet in your django projects", - long_description=long_descr, - license='LPGL, see LICENSE file.', - python_requires='>=3.9', - install_requires=requires, - extras_require={ - 'docs': ['sphinx', 'sphinx-autobuild'], - }, - packages=find_packages(), - include_package_data=True, - zip_safe=False, - classifiers=[ - 'Topic :: Utilities', - 'Natural Language :: English', - 'Operating System :: OS Independent', - 'Intended Audience :: Developers', - 'Environment :: Web Environment', - 'Framework :: Django', - 'Development Status :: 5 - Production/Stable', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3.12', - 'Programming Language :: Python :: 3.13', - ], -)