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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: path2success
3
- Version: 4.2
3
+ Version: 4.4
4
4
  Summary: The "path2success" library, is a multi-OS compatible python library, that includes advanced path-related functions.
5
5
  Author: Joel Horensma
6
6
  License-Expression: Apache-2.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.2'
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('\nQuitting...')
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]')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: path2success
3
- Version: 4.2
3
+ Version: 4.4
4
4
  Summary: The "path2success" library, is a multi-OS compatible python library, that includes advanced path-related functions.
5
5
  Author: Joel Horensma
6
6
  License-Expression: Apache-2.0
File without changes
File without changes
File without changes