ppqs 2.2.0__tar.gz → 2.3.0__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.2.0/src/ppqs.egg-info → ppqs-2.3.0}/PKG-INFO +1 -1
- {ppqs-2.2.0 → ppqs-2.3.0}/pyproject.toml +11 -1
- {ppqs-2.2.0 → ppqs-2.3.0/src/ppqs.egg-info}/PKG-INFO +1 -1
- {ppqs-2.2.0 → ppqs-2.3.0}/src/py_proj_quick_scripts/__init__.py +1 -1
- {ppqs-2.2.0 → ppqs-2.3.0}/LICENSES/MIT.txt +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/README.md +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/setup.cfg +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/src/ppqs.egg-info/SOURCES.txt +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/src/ppqs.egg-info/dependency_links.txt +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/src/ppqs.egg-info/entry_points.txt +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/src/ppqs.egg-info/requires.txt +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/src/ppqs.egg-info/top_level.txt +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/test/test_cli.py +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/test/test_find_pyproject.py +0 -0
- {ppqs-2.2.0 → ppqs-2.3.0}/test/test_parse_scripts.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ppqs"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.3.0"
|
|
8
8
|
description = "Python project quick scripts"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Karl Wette", email = "karl.wette@anu.edu.au" },
|
|
@@ -72,6 +72,16 @@ script = """
|
|
|
72
72
|
python -m pytest ...
|
|
73
73
|
"""
|
|
74
74
|
|
|
75
|
+
[tool.ppqs.scripts.upload]
|
|
76
|
+
description = "Upload package"
|
|
77
|
+
script = [
|
|
78
|
+
["ppqs", "test"],
|
|
79
|
+
["ppqs", "build"],
|
|
80
|
+
["twine", "upload", ["dist", "*"]],
|
|
81
|
+
["git", "push", "origin"],
|
|
82
|
+
["git", "push", "origin", "--tags"],
|
|
83
|
+
]
|
|
84
|
+
|
|
75
85
|
[tool.ppqs.scripts.clean]
|
|
76
86
|
description = "Clean up build files"
|
|
77
87
|
script = "git clean -Xdf"
|
|
@@ -276,7 +276,7 @@ def run_script(scripts, script_name, argv, cwd, has_been_run):
|
|
|
276
276
|
print(header, flush=True)
|
|
277
277
|
|
|
278
278
|
# Run command
|
|
279
|
-
retn = subprocess.run(cmd,
|
|
279
|
+
retn = subprocess.run(cmd, shell=False, cwd=cwd)
|
|
280
280
|
if retn.returncode != 0:
|
|
281
281
|
raise SystemExit(retn.returncode)
|
|
282
282
|
|
|
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
|