ppqs 2.0.0__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ppqs-2.0.0/src/ppqs.egg-info → ppqs-2.0.1}/PKG-INFO +1 -1
- {ppqs-2.0.0 → ppqs-2.0.1}/pyproject.toml +2 -2
- {ppqs-2.0.0 → ppqs-2.0.1/src/ppqs.egg-info}/PKG-INFO +1 -1
- {ppqs-2.0.0 → ppqs-2.0.1}/src/py_proj_quick_scripts/__init__.py +5 -3
- {ppqs-2.0.0 → ppqs-2.0.1}/LICENSE +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/README.md +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/setup.cfg +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/src/ppqs.egg-info/SOURCES.txt +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/src/ppqs.egg-info/dependency_links.txt +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/src/ppqs.egg-info/entry_points.txt +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/src/ppqs.egg-info/requires.txt +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/src/ppqs.egg-info/top_level.txt +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/test/test_cli.py +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/test/test_find_pyproject.py +0 -0
- {ppqs-2.0.0 → ppqs-2.0.1}/test/test_parse_scripts.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools"]
|
|
2
|
+
requires = ["setuptools>=64.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ppqs"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.1"
|
|
8
8
|
description = "Python project quick scripts"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Karl Wette", email = "karl.wette@anu.edu.au" },
|
|
@@ -12,7 +12,7 @@ else: # pragma: no cover
|
|
|
12
12
|
import tomli as tomllib
|
|
13
13
|
|
|
14
14
|
__author__ = "Karl Wette"
|
|
15
|
-
__version__ = "2.0.
|
|
15
|
+
__version__ = "2.0.1"
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class MissingPyProjectError(Exception):
|
|
@@ -210,17 +210,19 @@ def run_script(script, argv, cwd):
|
|
|
210
210
|
for command in script["commands"]:
|
|
211
211
|
cmd = []
|
|
212
212
|
|
|
213
|
-
# Replace "..." in command with arguments
|
|
214
213
|
for arg in command:
|
|
215
214
|
if arg == "...":
|
|
215
|
+
|
|
216
|
+
# Replace "..." in command with arguments
|
|
216
217
|
cmd.extend(argv)
|
|
218
|
+
|
|
217
219
|
else:
|
|
218
220
|
cmd.append(arg)
|
|
219
221
|
|
|
220
222
|
# Print header
|
|
221
223
|
if script["print-header"]:
|
|
222
224
|
cmd_str = " ".join(cmd)
|
|
223
|
-
print(f" ppqs: {cmd_str} ".center(col_width, "*"))
|
|
225
|
+
print(f" ppqs: {cmd_str} ".center(col_width, "*"), flush=True)
|
|
224
226
|
|
|
225
227
|
# Run command
|
|
226
228
|
retn = subprocess.run(cmd, stdin=subprocess.DEVNULL, shell=False, cwd=cwd)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|