bcmd 0.4.11__py3-none-any.whl → 0.4.12__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.

Potentially problematic release.


This version of bcmd might be problematic. Click here for more details.

bcmd/tasks/lib.py CHANGED
@@ -46,11 +46,11 @@ async def tidy_dependencies(
46
46
  @app.command()
47
47
  @syncCall
48
48
  async def update_version(
49
- workspacePath: Path = typer.Argument(Path.cwd(), help='workspace 路径'),
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 = workspacePath / 'pyproject.toml'
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
- workspacePath: Path = typer.Argument(Path.cwd(), help='workspace 路径'),
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(workspacePath, isKeepBuildFiles):
86
- scriptPath = (workspacePath / './venv/Scripts')
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.11
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.4
9
+ Requires-Dist: benimang ==0.7.5
10
10
  Requires-Dist: build
11
11
  Requires-Dist: cryptography
12
12
  Requires-Dist: pathspec
@@ -16,15 +16,15 @@ bcmd/tasks/debian.py,sha256=B9aMIIct3vNqMJr5hTr1GegXVf20H49C27FMvRRGIzI,3004
16
16
  bcmd/tasks/download.py,sha256=kQnzEXtduRWtfFFfbUugGbCEbeFWUiKvWrrZ_4RjY-Y,1792
17
17
  bcmd/tasks/image.py,sha256=OSqShLb_lwa77aQOnRNksXNemtuAnQDGg-VfiDy9fEM,2310
18
18
  bcmd/tasks/json.py,sha256=WWOyvcZPYaqQgp-Tkm-uIJschNMBKPKtZN3yXz_SC5s,635
19
- bcmd/tasks/lib.py,sha256=6c7s2Mlzgjcvd0uoUot3PEhxSIf9WPiQSIUGwvBaTBE,4608
19
+ bcmd/tasks/lib.py,sha256=_hlMzvXKtiHtDOX4nBcWkoqrpQ8A1PdICa01OBFdhVU,4563
20
20
  bcmd/tasks/math.py,sha256=xbl5UdaDMyAjiLodDPleP4Cutrk2S3NOAgurzAgOEAE,2862
21
21
  bcmd/tasks/mirror.py,sha256=nAe8NYftMKzht16MFBj7RqXwvVhR6Jh2uuAyJLh87og,1098
22
22
  bcmd/tasks/project.py,sha256=5Ui79TM8_RiTquGF_nKxextE0wMhaWHpITJ4mpMHn7E,846
23
23
  bcmd/tasks/proxy.py,sha256=6ApGO2t61uF9NWaQ-VpsTwR1MoDXKmfQDCWXgcC-3UY,1454
24
24
  bcmd/tasks/time.py,sha256=ZiqA1jdgl-TBtFSOxxP51nwv4g9iZItmkFKpf9MKelk,2453
25
25
  bcmd/tasks/venv.py,sha256=pGIoW2cgmK5nrhxN5MKgHTwDxPO7U2VH1fR_D-d1pcY,6684
26
- bcmd-0.4.11.dist-info/METADATA,sha256=i0c_m8U_lUFCYNYQJNpRX5YgFfFrJEAXyM5v0LlMcTQ,478
27
- bcmd-0.4.11.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
28
- bcmd-0.4.11.dist-info/entry_points.txt,sha256=rHJrP6KEQpB-YaQqDFzEL2v88r03rxSfnzAayRvAqHU,39
29
- bcmd-0.4.11.dist-info/top_level.txt,sha256=-KrvhhtBcYsm4XhcjQvEcFbBB3VXeep7d3NIfDTrXKQ,5
30
- bcmd-0.4.11.dist-info/RECORD,,
26
+ bcmd-0.4.12.dist-info/METADATA,sha256=HW-K23e3MRAfMrqejwARheWl8XjTWXyM_lGxyg2RM6o,478
27
+ bcmd-0.4.12.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
28
+ bcmd-0.4.12.dist-info/entry_points.txt,sha256=rHJrP6KEQpB-YaQqDFzEL2v88r03rxSfnzAayRvAqHU,39
29
+ bcmd-0.4.12.dist-info/top_level.txt,sha256=-KrvhhtBcYsm4XhcjQvEcFbBB3VXeep7d3NIfDTrXKQ,5
30
+ bcmd-0.4.12.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5