bcmd 0.4.11__tar.gz → 0.4.12__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.
Potentially problematic release.
This version of bcmd might be problematic. Click here for more details.
- {bcmd-0.4.11 → bcmd-0.4.12}/PKG-INFO +2 -2
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/lib.py +5 -5
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd.egg-info/PKG-INFO +2 -2
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd.egg-info/requires.txt +1 -1
- {bcmd-0.4.11 → bcmd-0.4.12}/pyproject.toml +2 -2
- {bcmd-0.4.11 → bcmd-0.4.12}/MANIFEST.in +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/README.md +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/__init__.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/common/__init__.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/common/func.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/common/password.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/main.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/resources/project/.gitignore +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/resources/project/.vscode/launch.json +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/resources/project/.vscode/settings.json +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/resources/project/.vscode/tasks.json +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/resources/project/main.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/__init__.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/bin.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/code.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/crypto.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/debian.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/download.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/image.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/json.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/math.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/mirror.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/project.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/proxy.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/time.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd/tasks/venv.py +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd.egg-info/SOURCES.txt +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd.egg-info/dependency_links.txt +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd.egg-info/entry_points.txt +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/bcmd.egg-info/top_level.txt +0 -0
- {bcmd-0.4.11 → bcmd-0.4.12}/setup.cfg +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bcmd
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.12
|
|
4
4
|
Summary: Commands for Beni
|
|
5
5
|
Author-email: Beni Mang <benimang@126.com>
|
|
6
6
|
Maintainer-email: Beni Mang <benimang@126.com>
|
|
7
7
|
Keywords: benimang,beni,bcmd
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
|
-
Requires-Dist: benimang==0.7.
|
|
9
|
+
Requires-Dist: benimang==0.7.5
|
|
10
10
|
Requires-Dist: build
|
|
11
11
|
Requires-Dist: cryptography
|
|
12
12
|
Requires-Dist: pathspec
|
|
@@ -46,11 +46,11 @@ async def tidy_dependencies(
|
|
|
46
46
|
@app.command()
|
|
47
47
|
@syncCall
|
|
48
48
|
async def update_version(
|
|
49
|
-
|
|
49
|
+
path: Path = typer.Argument(Path.cwd(), help='workspace 路径'),
|
|
50
50
|
isNotCommit: bool = typer.Option(False, '--no-commit', '-d', help='是否提交git'),
|
|
51
51
|
):
|
|
52
52
|
'修改 pyproject.toml 版本号'
|
|
53
|
-
file =
|
|
53
|
+
file = path / 'pyproject.toml'
|
|
54
54
|
btask.assertTrue(file.is_file(), '文件不存在', file)
|
|
55
55
|
data = await bfile.readToml(file)
|
|
56
56
|
version = data['project']['version']
|
|
@@ -77,13 +77,13 @@ async def update_version(
|
|
|
77
77
|
@app.command()
|
|
78
78
|
@syncCall
|
|
79
79
|
async def build(
|
|
80
|
-
|
|
80
|
+
path: Path = typer.Argument(Path.cwd(), help='workspace 路径'),
|
|
81
81
|
isKeepBuildFiles: bool = typer.Option(False, '--keep-build-files', '-k', help='是否保留构建文件'),
|
|
82
82
|
):
|
|
83
83
|
'发布项目'
|
|
84
84
|
u, p = await password.getPypi()
|
|
85
|
-
with _useBuildPath(
|
|
86
|
-
scriptPath = (
|
|
85
|
+
with _useBuildPath(path, isKeepBuildFiles):
|
|
86
|
+
scriptPath = (path / './venv/Scripts')
|
|
87
87
|
os.system(f'{scriptPath / "python.exe"} -m build')
|
|
88
88
|
os.system(f'{scriptPath / "twine.exe"} upload dist/* -u {u} -p {p}')
|
|
89
89
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bcmd
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.12
|
|
4
4
|
Summary: Commands for Beni
|
|
5
5
|
Author-email: Beni Mang <benimang@126.com>
|
|
6
6
|
Maintainer-email: Beni Mang <benimang@126.com>
|
|
7
7
|
Keywords: benimang,beni,bcmd
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
|
-
Requires-Dist: benimang==0.7.
|
|
9
|
+
Requires-Dist: benimang==0.7.5
|
|
10
10
|
Requires-Dist: build
|
|
11
11
|
Requires-Dist: cryptography
|
|
12
12
|
Requires-Dist: pathspec
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
[project]
|
|
5
5
|
name = 'bcmd'
|
|
6
|
-
version = '0.4.
|
|
6
|
+
version = '0.4.12'
|
|
7
7
|
description = 'Commands for Beni'
|
|
8
8
|
requires-python = '>=3.10'
|
|
9
9
|
keywords = ['benimang', 'beni', 'bcmd']
|
|
@@ -12,7 +12,7 @@ maintainers = [{ name = 'Beni Mang', email = 'benimang@126.com' }]
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
dependencies = [
|
|
15
|
-
'benimang==0.7.
|
|
15
|
+
'benimang==0.7.5',
|
|
16
16
|
'build',
|
|
17
17
|
'cryptography',
|
|
18
18
|
'pathspec',
|
|
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
|
|
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
|
|
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
|