Browse Source

Backport simplified build process (#2576)

Jean-Robin 1 month ago
parent
commit
719977b94f
2 changed files with 16 additions and 13 deletions
  1. 7 4
      pyproject.toml
  2. 9 9
      taipy/gui/pyproject.toml

+ 7 - 4
pyproject.toml

@@ -1,13 +1,13 @@
 [build-system]
-requires = ["setuptools>=42", "wheel"]
+requires = ["setuptools>=76", "wheel"]
 build-backend = "setuptools.build_meta"
 
 [project]
 name = "taipy"
 description = "A 360° open-source platform from Python pilots to production-ready web apps."
 readme = "package_desc.md"
-requires-python = ">=3.9"
-license = {text = "Apache License 2.0"}
+requires-python = ">=3.9,<3.13"
+license = {text = "Apache-2.0"}
 authors = [{name = "Avaiga", email = "dev@taipy.io"}]
 keywords = ["taipy"]
 classifiers = [
@@ -22,6 +22,9 @@ classifiers = [
 ]
 dynamic = ["version", "dependencies"]
 
+[tool.setuptools.packages]
+find = {include = ["taipy", "taipy.*"]}
+
 [project.optional-dependencies]
 ngrok = ["pyngrok>=5.1,<6.0"]
 image = [
@@ -31,6 +34,7 @@ image = [
 rdp = ["rdp>=0.8"]
 arrow = ["pyarrow>=16.0.0,<19.0"]
 mssql = ["pyodbc>=4"]
+test = ["pytest>=6.0"]
 
 [project.scripts]
 taipy = "taipy._entrypoint:_entrypoint"
@@ -51,7 +55,6 @@ exclude = [
     "build",
     "dist",
     "releases",
-    "tools",
     ".venv",
     ".mypy_cache",
     ".pytest_cache",

+ 9 - 9
taipy/gui/pyproject.toml

@@ -1,18 +1,17 @@
 [build-system]
-requires = ["setuptools>=42", "wheel"]
+requires = ["setuptools>=76", "wheel"]
 build-backend = "setuptools.build_meta"
 
 [project]
 name = "taipy-gui"
 description = "Low-code library to create graphical user interfaces on the Web for your Python applications."
 readme = "package_desc.md"
-requires-python = ">=3.9"
-license = {text = "Apache License 2.0"}
+requires-python = ">=3.9,<3.13"
+license = "Apache-2.0"
 authors = [{name = "Avaiga", email = "dev@taipy.io"}]
-keywords = ["taipy-gui"]
+keywords = ["taipy", "gui", "taipy-gui"]
 classifiers = [
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: Apache Software License",
     "Natural Language :: English",
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.9",
@@ -22,6 +21,9 @@ classifiers = [
 ]
 dynamic = ["version", "dependencies"]
 
+[tool.setuptools.packages]
+find = {include = ["taipy", "taipy.gui", "taipy.gui.*"]}
+
 [project.optional-dependencies]
 ngrok = ["pyngrok>=5.1,<6.0"]
 image = [
@@ -29,9 +31,7 @@ image = [
     "python-magic-bin>=0.4.14,<0.5;platform_system=='Windows'",
 ]
 arrow = ["pyarrow>=16.0.0,<19.0"]
-
-[tool.setuptools.packages]
-find = {include = ["taipy", "taipy.gui", "taipy.gui.*"]}
+test = ["pytest>=6.0"]
 
 [project.urls]
-homepage = "https://github.com/avaiga/taipy"
+Homepage = "https://github.com/Avaiga/taipy"