Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions pyproject.toml
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"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The minimum required Python version has been updated to >=3.10 from 3.7 in the previous setup.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.

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"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Download URL points to a tarball of the master branch. This URL provides the latest development code, not a stable release. It's better practice to point to the GitHub releases page where users can find stable, versioned packages.

Suggested change
Download = "https://github.com/GeoNode/geonode-mapstore-client/tarball/master"
Download = "https://github.com/GeoNode/geonode-mapstore-client/releases"


[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"]
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

40 changes: 0 additions & 40 deletions setup.cfg

This file was deleted.

26 changes: 0 additions & 26 deletions setup.py

This file was deleted.