VertexEngine-CLI 1.1__py3-none-any.whl → 1.2rc2__py3-none-any.whl
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.
- vertex/__main__.py +33 -12
- vertex/templates.py +1 -1
- {vertexengine_cli-1.1.dist-info → vertexengine_cli-1.2rc2.dist-info}/METADATA +11 -2
- vertexengine_cli-1.2rc2.dist-info/RECORD +10 -0
- vertexengine_cli-1.1.dist-info/RECORD +0 -10
- {vertexengine_cli-1.1.dist-info → vertexengine_cli-1.2rc2.dist-info}/WHEEL +0 -0
- {vertexengine_cli-1.1.dist-info → vertexengine_cli-1.2rc2.dist-info}/entry_points.txt +0 -0
- {vertexengine_cli-1.1.dist-info → vertexengine_cli-1.2rc2.dist-info}/licenses/LICENSE +0 -0
- {vertexengine_cli-1.1.dist-info → vertexengine_cli-1.2rc2.dist-info}/top_level.txt +0 -0
vertex/__main__.py
CHANGED
|
@@ -6,7 +6,8 @@ from PyInstaller.__main__ import run as pyinstaller_run
|
|
|
6
6
|
|
|
7
7
|
from .minicli import CLI
|
|
8
8
|
from .templates import TEMPLATES
|
|
9
|
-
|
|
9
|
+
import sys
|
|
10
|
+
import glob
|
|
10
11
|
|
|
11
12
|
def main():
|
|
12
13
|
cli = CLI()
|
|
@@ -17,20 +18,40 @@ def main():
|
|
|
17
18
|
@cli.command("upload")
|
|
18
19
|
def upload_package(dist_path="dist/*", username=None, password=None):
|
|
19
20
|
"""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
Upload a Python package to PyPI using Twine.
|
|
22
|
+
|
|
23
|
+
dist_path: glob path to distribution files (default: dist/*)
|
|
24
|
+
username: PyPI username (optional if stored in .pypirc)
|
|
25
|
+
password: PyPI password or token (optional if stored in .pypirc)
|
|
26
|
+
"""
|
|
27
|
+
# Expand wildcards in a cross-platform way
|
|
28
|
+
files = glob.glob(dist_path)
|
|
29
|
+
if not files:
|
|
30
|
+
print(f"❌ No files found at {dist_path}")
|
|
31
|
+
return
|
|
32
|
+
|
|
33
|
+
# Use Python to call Twine (works on Windows, Linux, macOS)
|
|
34
|
+
command = [sys.executable, "-m", "twine", "upload"] + files
|
|
35
|
+
|
|
28
36
|
if username:
|
|
29
37
|
command += ["-u", username]
|
|
30
38
|
if password:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
39
|
+
command += ["-p", password]
|
|
40
|
+
|
|
41
|
+
print(f"🚀 Running: {' '.join(command)}")
|
|
42
|
+
try:
|
|
43
|
+
subprocess.run(command, check=True)
|
|
44
|
+
print("✅ Upload complete!")
|
|
45
|
+
except subprocess.CalledProcessError as e:
|
|
46
|
+
print(f"❌ Upload failed: {e}")
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
print(f"🚀 Running: {' '.join(command)}")
|
|
50
|
+
try:
|
|
51
|
+
subprocess.run(command, check=True)
|
|
52
|
+
print("✅ Upload complete!")
|
|
53
|
+
except subprocess.CalledProcessError as e:
|
|
54
|
+
print(f"❌ Upload failed: {e}")
|
|
34
55
|
# -----------------
|
|
35
56
|
# Remove
|
|
36
57
|
# -----------------
|
vertex/templates.py
CHANGED
|
@@ -43,7 +43,7 @@ TEMPLATES: dict[str, dict[str, str]] = {
|
|
|
43
43
|
app.exec()
|
|
44
44
|
"""
|
|
45
45
|
),
|
|
46
|
-
"README.md": "# VertexEngine Game\n\nGenerated with
|
|
46
|
+
"README.md": "# VertexEngine Game\n\nGenerated with VertexEngine. ✨\n",
|
|
47
47
|
".gitignore": "__pycache__/\n.env\n",
|
|
48
48
|
},
|
|
49
49
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: VertexEngine-CLI
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2rc2
|
|
4
4
|
Summary: An Offical CLI library for VertexEngine.
|
|
5
5
|
Author-email: Tyrel Miguel <annbasilan0828@gmail.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Documentation, https://vertexenginedocs.netlify.app/
|
|
8
|
-
Project-URL:
|
|
8
|
+
Project-URL: Source, https://github.com/VertexEngine-Projects/VertexEngine-CLI-Code
|
|
9
|
+
Project-URL: Issues, https://github.com/VertexEngine-Projects/VertexEngine-CLI-Code/issues
|
|
9
10
|
Requires-Python: >=3.10
|
|
10
11
|
Description-Content-Type: text/markdown
|
|
11
12
|
License-File: LICENSE
|
|
@@ -22,6 +23,14 @@ Commands:
|
|
|
22
23
|
`python -m vertex build [path]` - build an exe with 2 flags:
|
|
23
24
|
`--onefile, --windowed`
|
|
24
25
|
|
|
26
|
+
## Change Logs (1.2rc2), NEW!
|
|
27
|
+
### 1.2rc2:
|
|
28
|
+
- Fixed 25 critical crash bugs!
|
|
29
|
+
- Discord in 10 DAYS!
|
|
30
|
+
### 1.1:
|
|
31
|
+
- Added 2 new commands!:
|
|
32
|
+
vertex remove {filepath}
|
|
33
|
+
vertex upload {flags}
|
|
25
34
|
## How to install Pyinstaller
|
|
26
35
|
Step 1. Type in:
|
|
27
36
|
pip install pyinstaller
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
vertex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
vertex/__main__.py,sha256=rbAfP5X9IA6tnyZ245G8nEw6okOmGJeumlKvcsCG7_U,3550
|
|
3
|
+
vertex/minicli.py,sha256=BhpqfYq5eEhwVkAa7I0AycjDmTlQ4q3S0DbSHKxLQgs,1554
|
|
4
|
+
vertex/templates.py,sha256=pEqaHWn6uBu4VjpOscrG9u2Mtp9iJ3Zs_LseyLSoZ4E,1538
|
|
5
|
+
vertexengine_cli-1.2rc2.dist-info/licenses/LICENSE,sha256=dV2_I9Rq_DHkqouiT6TD2tsQVh9pgzlqFrkT8BuW2X8,1096
|
|
6
|
+
vertexengine_cli-1.2rc2.dist-info/METADATA,sha256=9c6UTDRdoZUYw8v8Cb0179HsokmK7rwaaigeEu74bFg,4211
|
|
7
|
+
vertexengine_cli-1.2rc2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
+
vertexengine_cli-1.2rc2.dist-info/entry_points.txt,sha256=PXuYQbaV1_2GQbPRcmnP6fvtPDlrf_PatBOKp9yLsps,48
|
|
9
|
+
vertexengine_cli-1.2rc2.dist-info/top_level.txt,sha256=hUfBmDVpG0gMBhuaAWLQqXDZQkqBdFPWZY7O9NNajVg,7
|
|
10
|
+
vertexengine_cli-1.2rc2.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
vertex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
vertex/__main__.py,sha256=ZARq5h6cqu7pzlqDRuYZEW5xsHFddTjNfqkx5Eb1aSQ,2765
|
|
3
|
-
vertex/minicli.py,sha256=BhpqfYq5eEhwVkAa7I0AycjDmTlQ4q3S0DbSHKxLQgs,1554
|
|
4
|
-
vertex/templates.py,sha256=q4ZLYaieb2GVlgt0t7svo8B8emw_x4Jetca1kprTacI,1532
|
|
5
|
-
vertexengine_cli-1.1.dist-info/licenses/LICENSE,sha256=dV2_I9Rq_DHkqouiT6TD2tsQVh9pgzlqFrkT8BuW2X8,1096
|
|
6
|
-
vertexengine_cli-1.1.dist-info/METADATA,sha256=AW3WQ0a6FMXv1O12vfaAxBlx_VjD31gar-BkRwecrrU,3911
|
|
7
|
-
vertexengine_cli-1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
-
vertexengine_cli-1.1.dist-info/entry_points.txt,sha256=PXuYQbaV1_2GQbPRcmnP6fvtPDlrf_PatBOKp9yLsps,48
|
|
9
|
-
vertexengine_cli-1.1.dist-info/top_level.txt,sha256=hUfBmDVpG0gMBhuaAWLQqXDZQkqBdFPWZY7O9NNajVg,7
|
|
10
|
-
vertexengine_cli-1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|