-
Notifications
You must be signed in to change notification settings - Fork 127
[Fixes #2322] Switch to pyproject #2323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,62 @@ | ||||||
| [build-system] | ||||||
| requires = ["setuptools>=61.0", "wheel"] | ||||||
| build-backend = "setuptools.build_meta" | ||||||
|
|
||||||
| [project] | ||||||
| name = "django-geonode-mapstore-client" | ||||||
| description = "Use GeoNode client in your django projects" | ||||||
| readme = { file = "README.md", content-type = "text/markdown" } | ||||||
| requires-python = ">=3.10" | ||||||
| license = { text = "BSD-3-Clause" } | ||||||
| authors = [ | ||||||
| { name = "GeoSolutions s.r.l.", email = "[email protected]" } | ||||||
| ] | ||||||
| keywords = ["django", "mapstore", "mapstore2"] | ||||||
| classifiers = [ | ||||||
| "Development Status :: 5 - Production/Stable", | ||||||
| "Environment :: Web Environment", | ||||||
| "Framework :: Django", | ||||||
| "Intended Audience :: Developers", | ||||||
| "License :: OSI Approved :: BSD License", | ||||||
| "Operating System :: OS Independent", | ||||||
| "Topic :: Internet :: WWW/HTTP", | ||||||
| "Programming Language :: Python :: 3.10" | ||||||
| ] | ||||||
| dependencies = [ | ||||||
| "django>=4.2,<5.3", | ||||||
| "idna>=2.5,<2.11", | ||||||
| "requests>=2.13.0", | ||||||
| "Markdown>=2.6.11", | ||||||
| "MarkupSafe>=1.1.1", | ||||||
| "urllib3>=1.25" | ||||||
| ] | ||||||
| dynamic = ["version"] | ||||||
|
|
||||||
| [project.urls] | ||||||
| Homepage = "https://github.com/GeoNode/geonode-mapstore-client" | ||||||
| Download = "https://github.com/GeoNode/geonode-mapstore-client/tarball/master" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
|
|
||||||
| [tool.setuptools] | ||||||
| include-package-data = true | ||||||
| zip-safe = false | ||||||
|
|
||||||
| [tool.setuptools.packages.find] | ||||||
| exclude = ["tests*"] | ||||||
|
|
||||||
| # Legge la versione dal file VERSION (equivalente al tuo setup.py) | ||||||
| [tool.setuptools.dynamic] | ||||||
| version = { file = ["VERSION"] } | ||||||
|
|
||||||
| [tool.flake8] | ||||||
| max-line-length = 120 | ||||||
| exclude = [ | ||||||
| "geonode_mapstore_client/*/migrations/*", | ||||||
| "geonode_mapstore_client/mapstore2_adapter/*/migrations/*", | ||||||
| "management", | ||||||
| "scripts", | ||||||
| "docs", | ||||||
| "static", | ||||||
| "migrations", | ||||||
| "geonode_mapstore_client/mapstore2_adapter/*settings.py" | ||||||
| ] | ||||||
| ignore = ["E121", "E122", "E124", "E126", "E226"] | ||||||
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The minimum required Python version has been updated to
>=3.10from3.7in the previoussetup.cfg. This is a significant breaking change that should be clearly communicated in the pull request description and project's release notes to avoid issues for users on older Python versions.