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:
@ -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
14
scripts/pyproject.toml
Normal 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",
|
||||
]
|
||||
@ -1,7 +0,0 @@
|
||||
cmake_format
|
||||
clang-format
|
||||
python-dotenv
|
||||
pyyaml
|
||||
dmgbuild; sys_platform == 'darwin'
|
||||
aqtinstall; sys_platform == 'win32' or sys_platform == 'darwin'
|
||||
colorama
|
||||
Reference in New Issue
Block a user