unknown-cli 0.9.43__tar.gz → 0.9.45__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.
Files changed (23) hide show
  1. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/PKG-INFO +1 -1
  2. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknown_cli.egg-info/PKG-INFO +1 -1
  3. unknown_cli-0.9.45/unknowncli/VERSION +1 -0
  4. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/commands/project.py +9 -3
  5. unknown_cli-0.9.43/unknowncli/VERSION +0 -1
  6. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/README.md +0 -0
  7. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/setup.cfg +0 -0
  8. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/setup.py +0 -0
  9. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknown_cli.egg-info/SOURCES.txt +0 -0
  10. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknown_cli.egg-info/dependency_links.txt +0 -0
  11. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknown_cli.egg-info/entry_points.txt +0 -0
  12. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknown_cli.egg-info/requires.txt +0 -0
  13. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknown_cli.egg-info/top_level.txt +0 -0
  14. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/__init__.py +0 -0
  15. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/__main__.py +0 -0
  16. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/commands/__init__.py +0 -0
  17. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/commands/preflight.py +0 -0
  18. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/commands/task.py +0 -0
  19. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/commands/unreal.py +0 -0
  20. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/data/.p4ignore.txt +0 -0
  21. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/set_registry_keys.py +0 -0
  22. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/set_url_handler.py +0 -0
  23. {unknown_cli-0.9.43 → unknown_cli-0.9.45}/unknowncli/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown_cli
3
- Version: 0.9.43
3
+ Version: 0.9.45
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown-cli
3
- Version: 0.9.43
3
+ Version: 0.9.45
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -0,0 +1 @@
1
+ 0.9.45
@@ -95,6 +95,14 @@ def setup(
95
95
 
96
96
  Unreal Game Sync: https://www.notion.so/unknownworlds/How-To-Setup-Unreal-Game-Sync-59cc3348cdde449d8fdc7f39ee60c8b3
97
97
  """
98
+
99
+ if " " in perforce_path:
100
+ abort("Workspace path cannot include spaces (sorry)")
101
+
102
+ perforce_path = Path(perforce_path).expanduser()
103
+ if perforce_path.drive == '':
104
+ abort("Workspace folder must be absolute, starting with a drive letter, eg. C:\\Work")
105
+
98
106
  p4 = P4()
99
107
  if not p4.port or p4.port == "perforce:1666" or force:
100
108
  host = prompt("Perforce connection string (ssl:[url]:1666):", default=p4.port)
@@ -131,11 +139,9 @@ def setup(
131
139
  abort(f"Error fetching workspaces from Perforce: {e}")
132
140
 
133
141
  secho("OK", fg="green")
134
- if " " in perforce_path:
135
- abort("Workspace path cannot include spaces (sorry)")
136
142
 
137
143
  perforce_path = Path(perforce_path).expanduser()
138
- perforce_drive = perforce_path.drive or "C:"
144
+ perforce_drive = perforce_path.drive
139
145
  _, _, free = shutil.disk_usage(perforce_drive)
140
146
  free_gb = free // 1024 // 1024 // 1024
141
147
  if free_gb < MIN_FREE_GB:
@@ -1 +0,0 @@
1
- 0.9.43
File without changes
File without changes
File without changes