Migrate scripts from requirements.txt to pyproject.toml (#7406)

* Migrate from `requirements.txt` to `pyproject.toml`

* Lower Python to 3.9 for GitHub Windows runner

* Increase timeout for valgrind

* Update ChangeLog
This commit is contained in:
Nick Bolton
2024-07-19 10:35:10 +01:00
committed by GitHub
parent 6f411e4ab8
commit f81901f633
6 changed files with 18 additions and 9 deletions

View File

@ -134,7 +134,7 @@ def install_requirements():
print("Installing required modules...")
cmd_utils.run(
[sys.executable, "-m", "pip", "install", "-r", "scripts/requirements.txt"],
[sys.executable, "-m", "pip", "install", "-e", "scripts"],
shell=False,
print_cmd=True,
)

14
scripts/pyproject.toml Normal file
View File

@ -0,0 +1,14 @@
[project]
name = "scripts"
version = "0.0.1"
description = "Scripts to assist with development of Synergy"
requires-python = ">=3.9"
dependencies = [
"cmake_format",
"clang-format",
"python-dotenv",
"pyyaml",
"dmgbuild; sys_platform == 'darwin'",
"aqtinstall; sys_platform == 'win32' or sys_platform == 'darwin'",
"colorama",
]

View File

@ -1,7 +0,0 @@
cmake_format
clang-format
python-dotenv
pyyaml
dmgbuild; sys_platform == 'darwin'
aqtinstall; sys_platform == 'win32' or sys_platform == 'darwin'
colorama