VertexEngine-CLI 1.1__tar.gz → 1.2rc1__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.
- {vertexengine_cli-1.1/src/VertexEngine_CLI.egg-info → vertexengine_cli-1.2rc1}/PKG-INFO +6 -1
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/README.md +5 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/pyproject.toml +1 -1
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1/src/VertexEngine_CLI.egg-info}/PKG-INFO +6 -1
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/vertex/__main__.py +33 -12
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/vertex/templates.py +1 -1
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/LICENSE +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/setup.cfg +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/SOURCES.txt +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/dependency_links.txt +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/entry_points.txt +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/requires.txt +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/top_level.txt +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/vertex/__init__.py +0 -0
- {vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/vertex/minicli.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: VertexEngine-CLI
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2rc1
|
|
4
4
|
Summary: An Offical CLI library for VertexEngine.
|
|
5
5
|
Author-email: Tyrel Miguel <annbasilan0828@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -22,6 +22,11 @@ Commands:
|
|
|
22
22
|
`python -m vertex build [path]` - build an exe with 2 flags:
|
|
23
23
|
`--onefile, --windowed`
|
|
24
24
|
|
|
25
|
+
### Change Logs (1.1), NEW!
|
|
26
|
+
1.1:
|
|
27
|
+
- Added 2 new commands!:
|
|
28
|
+
vertex remove {filepath}
|
|
29
|
+
vertex upload {flags}
|
|
25
30
|
## How to install Pyinstaller
|
|
26
31
|
Step 1. Type in:
|
|
27
32
|
pip install pyinstaller
|
|
@@ -5,6 +5,11 @@ Commands:
|
|
|
5
5
|
`python -m vertex build [path]` - build an exe with 2 flags:
|
|
6
6
|
`--onefile, --windowed`
|
|
7
7
|
|
|
8
|
+
### Change Logs (1.1), NEW!
|
|
9
|
+
1.1:
|
|
10
|
+
- Added 2 new commands!:
|
|
11
|
+
vertex remove {filepath}
|
|
12
|
+
vertex upload {flags}
|
|
8
13
|
## How to install Pyinstaller
|
|
9
14
|
Step 1. Type in:
|
|
10
15
|
pip install pyinstaller
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: VertexEngine-CLI
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2rc1
|
|
4
4
|
Summary: An Offical CLI library for VertexEngine.
|
|
5
5
|
Author-email: Tyrel Miguel <annbasilan0828@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -22,6 +22,11 @@ Commands:
|
|
|
22
22
|
`python -m vertex build [path]` - build an exe with 2 flags:
|
|
23
23
|
`--onefile, --windowed`
|
|
24
24
|
|
|
25
|
+
### Change Logs (1.1), NEW!
|
|
26
|
+
1.1:
|
|
27
|
+
- Added 2 new commands!:
|
|
28
|
+
vertex remove {filepath}
|
|
29
|
+
vertex upload {flags}
|
|
25
30
|
## How to install Pyinstaller
|
|
26
31
|
Step 1. Type in:
|
|
27
32
|
pip install pyinstaller
|
|
@@ -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
|
# -----------------
|
|
@@ -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
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{vertexengine_cli-1.1 → vertexengine_cli-1.2rc1}/src/VertexEngine_CLI.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|