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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ppqs
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python project quick scripts
5
5
  Author-email: Karl Wette <karl.wette@anu.edu.au>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ppqs"
7
- version = "2.2.0"
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"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ppqs
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python project quick scripts
5
5
  Author-email: Karl Wette <karl.wette@anu.edu.au>
6
6
  License-Expression: MIT
@@ -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, stdin=subprocess.DEVNULL, shell=False, cwd=cwd)
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