py.lib.aw_web_tools

Yohn Y. 2025-10-15 Parent:0920ae304dfd Child:c53a61e27af8

15:645c171efc96 Browse Files

* Изменения в системе сборки пакетов Python

pyproject.toml tool/make_pkg.sh

     1.1 --- a/pyproject.toml	Wed Oct 15 16:39:24 2025 +0300
     1.2 +++ b/pyproject.toml	Wed Oct 15 17:32:08 2025 +0300
     1.3 @@ -1,30 +1,26 @@
     1.4  [build-system]
     1.5  # Minimum requirements for the build system to execute.
     1.6  requires = [
     1.7 -    "setuptools",
     1.8 -    "wheel"
     1.9 +    "wheel",
    1.10 +    "setuptools"
    1.11  ]  # PEP 508 specifications.
    1.12  
    1.13  [project]
    1.14  name = "aw_web_tools"
    1.15  dynamic = ["version", "description"]
    1.16  requires-python = ">=3.9"
    1.17 +license = "BSD-3-Clause"
    1.18  dependencies = [
    1.19      "PyJWT>=2.8.0",
    1.20      "bottle>=0.12.25",
    1.21  ]
    1.22  
    1.23 +
    1.24  [project.urls]
    1.25  documentation = "https://devel.a0fs.ru/lib.py/aw_web_tools/root"
    1.26  source = "https://repo.devel.a0fs.ru/py.lib.aw_web_tools/"
    1.27  download = "https://py-repo.devel.a0fs.ru"
    1.28  
    1.29 -[project.license]
    1.30 -text = """
    1.31 -Данное ПО распространяется на условиях BSD-2-Clause
    1.32 -
    1.33 -URL: https://opensource.org/license/BSD-2-Clause
    1.34 -"""
    1.35  
    1.36  [[project.authors]]
    1.37  name = 'awgur'
     2.1 --- a/tool/make_pkg.sh	Wed Oct 15 16:39:24 2025 +0300
     2.2 +++ b/tool/make_pkg.sh	Wed Oct 15 17:32:08 2025 +0300
     2.3 @@ -1,5 +1,5 @@
     2.4  #!/bin/sh
     2.5 -# devel.a0fs.ru -- devel:python.tools::make_pkg.sh -- v0.r202405.2
     2.6 +# devel.a0fs.ru -- devel:python.tools::make_pkg.sh -- v0.r202410.1
     2.7  this_dir="$(dirname "$(readlink -f "$0")")"
     2.8  this_pkg="$(dirname "$this_dir")"
     2.9  
    2.10 @@ -8,4 +8,5 @@
    2.11    . "${this_pkg}/.e/bin/activate"
    2.12  fi
    2.13  
    2.14 -python3 setup.py bdist_wheel --build-number "$(date '+%d%H%M%S')"
    2.15 \ No newline at end of file
    2.16 +# python3 setup.py bdist_wheel --build-number "$(date '+%d%H%M%S')"
    2.17 +python3 -m build -w -v "$this_pkg"
    2.18 \ No newline at end of file