path2success 4.2__tar.gz → 4.4__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.
- {path2success-4.2/src/path2success.egg-info → path2success-4.4}/PKG-INFO +1 -1
- {path2success-4.2 → path2success-4.4}/pyproject.toml +1 -1
- {path2success-4.2 → path2success-4.4}/src/path2success/__main__.py +4 -2
- {path2success-4.2 → path2success-4.4/src/path2success.egg-info}/PKG-INFO +1 -1
- {path2success-4.2 → path2success-4.4}/LICENSE +0 -0
- {path2success-4.2 → path2success-4.4}/README.md +0 -0
- {path2success-4.2 → path2success-4.4}/setup.cfg +0 -0
- {path2success-4.2 → path2success-4.4}/src/path2success/__init__.py +0 -0
- {path2success-4.2 → path2success-4.4}/src/path2success/_internal.py +0 -0
- {path2success-4.2 → path2success-4.4}/src/path2success/main.py +0 -0
- {path2success-4.2 → path2success-4.4}/src/path2success.egg-info/SOURCES.txt +0 -0
- {path2success-4.2 → path2success-4.4}/src/path2success.egg-info/dependency_links.txt +0 -0
- {path2success-4.2 → path2success-4.4}/src/path2success.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
5
5
|
[project]
|
|
6
6
|
keywords = ['path', 'paths', 'filter', 'convert bytes', 'copy', 'progress bar', 'ETA']
|
|
7
7
|
name = 'path2success'
|
|
8
|
-
version = '4.
|
|
8
|
+
version = '4.4'
|
|
9
9
|
description = 'The "path2success" library, is a multi-OS compatible python library, that includes advanced path-related functions.'
|
|
10
10
|
readme = 'README.md'
|
|
11
11
|
license = 'Apache-2.0'
|
|
@@ -2,7 +2,9 @@ import sys, signal
|
|
|
2
2
|
from .main import recursive_copy_with_progress
|
|
3
3
|
|
|
4
4
|
def exit(signum, frame):
|
|
5
|
-
print('\
|
|
5
|
+
print('\n"ctrl" + "c", was pressed')
|
|
6
|
+
print('Exiting...')
|
|
7
|
+
sys.exit(1)
|
|
6
8
|
input('Press Enter: ')
|
|
7
9
|
|
|
8
10
|
#CLI CODE
|
|
@@ -19,7 +21,7 @@ if __name__ == '__main__':
|
|
|
19
21
|
signal.signal(signal.SIGINT, exit)
|
|
20
22
|
COMMAND = sys.argv[1]
|
|
21
23
|
if len(sys.argv) == 4 and COMMAND == 'recursive_copy_with_progress':
|
|
22
|
-
print('Press "ctrl" + "c", to quit')
|
|
24
|
+
print('Press "ctrl" + "c", to quit\n')
|
|
23
25
|
recursive_copy_with_progress_CLI()
|
|
24
26
|
else:
|
|
25
27
|
print('CLI usage: python -m path2success recursive_copy_with_progress [SOURCE_PATH] [DESTINATION_PATH]')
|
|
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
|