bcmd 0.5.0__py3-none-any.whl → 0.5.1__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/venv.py CHANGED
@@ -33,10 +33,10 @@ async def add(
33
33
 
34
34
  @app.command()
35
35
  @syncCall
36
- async def update_benimang(
36
+ async def benimang(
37
37
  path: Path = typer.Option(None, '--path', help='指定路径,默认当前目录'),
38
38
  ):
39
- '更新 benimang '
39
+ '更新 benimang 库,强制使用官方源'
40
40
  await _venv(
41
41
  ['benimang==now'],
42
42
  path=path,
@@ -46,31 +46,33 @@ async def update_benimang(
46
46
 
47
47
  @app.command()
48
48
  @syncCall
49
- async def reinstall_base(
49
+ async def base(
50
50
  path: Path = typer.Option(None, '--path', help='指定路径,默认当前目录'),
51
51
  isOfficial: bool = typer.Option(False, '--official', help='是否使用官方地址安装(https://pypi.org/simple)'),
52
+ isReinstall: bool = typer.Option(False, '--reinstall', help='是否清空venv目录后重新安装'),
52
53
  ):
53
- '重新安装基础库'
54
+ '安装基础库'
54
55
  await _venv(
55
56
  path=path,
56
57
  isOfficial=isOfficial,
57
58
  isUseBase=True,
58
- isCleanup=True,
59
+ isCleanup=isReinstall,
59
60
  )
60
61
 
61
62
 
62
63
  @app.command()
63
64
  @syncCall
64
- async def reinstall_lock(
65
+ async def lock(
65
66
  path: Path = typer.Option(None, '--path', help='指定路径,默认当前目录'),
66
67
  isOfficial: bool = typer.Option(False, '--official', help='是否使用官方地址安装(https://pypi.org/simple)'),
68
+ isReinstall: bool = typer.Option(False, '--reinstall', help='是否清空venv目录后重新安装'),
67
69
  ):
68
- '重新安装版本固定的库'
70
+ '安装指定版本的库'
69
71
  await _venv(
70
72
  path=path,
71
73
  isOfficial=isOfficial,
72
74
  isUseLock=True,
73
- isCleanup=True,
75
+ isCleanup=isReinstall,
74
76
  )
75
77
 
76
78
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bcmd
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Commands for Beni
5
5
  Author-email: Beni Mang <benimang@126.com>
6
6
  Maintainer-email: Beni Mang <benimang@126.com>
@@ -22,9 +22,9 @@ bcmd/tasks/mirror.py,sha256=nAe8NYftMKzht16MFBj7RqXwvVhR6Jh2uuAyJLh87og,1098
22
22
  bcmd/tasks/project.py,sha256=73d5sxOD-Aqc5PwqV8FBzIfbyJjZ-juQad7JV43YZIE,948
23
23
  bcmd/tasks/proxy.py,sha256=6ApGO2t61uF9NWaQ-VpsTwR1MoDXKmfQDCWXgcC-3UY,1454
24
24
  bcmd/tasks/time.py,sha256=ZiqA1jdgl-TBtFSOxxP51nwv4g9iZItmkFKpf9MKelk,2453
25
- bcmd/tasks/venv.py,sha256=P2bO-ddRG5WWKvdU-JM8YAEAhPAoRdqOrku1Ihp1nFo,7144
26
- bcmd-0.5.0.dist-info/METADATA,sha256=Lo4gTAZs6wfBwHWcpiBKpnyO6g7ouL9_V-m2-BSEC8I,474
27
- bcmd-0.5.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
28
- bcmd-0.5.0.dist-info/entry_points.txt,sha256=rHJrP6KEQpB-YaQqDFzEL2v88r03rxSfnzAayRvAqHU,39
29
- bcmd-0.5.0.dist-info/top_level.txt,sha256=-KrvhhtBcYsm4XhcjQvEcFbBB3VXeep7d3NIfDTrXKQ,5
30
- bcmd-0.5.0.dist-info/RECORD,,
25
+ bcmd/tasks/venv.py,sha256=_KLzKnM-52D12iKPBiwVZmWWAg5mqwAC3q6ceN4di3s,7355
26
+ bcmd-0.5.1.dist-info/METADATA,sha256=yja9I_lDvcgYTlE7KsN2gErHdCPazpblwLluaHFLrcU,474
27
+ bcmd-0.5.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
28
+ bcmd-0.5.1.dist-info/entry_points.txt,sha256=rHJrP6KEQpB-YaQqDFzEL2v88r03rxSfnzAayRvAqHU,39
29
+ bcmd-0.5.1.dist-info/top_level.txt,sha256=-KrvhhtBcYsm4XhcjQvEcFbBB3VXeep7d3NIfDTrXKQ,5
30
+ bcmd-0.5.1.dist-info/RECORD,,
File without changes