Skip to content

Commit fa291ad

Browse files
committed

File tree

227 files changed

+39158
-8119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+39158
-8119
lines changed

PythonLib/extra/distutils/README

Lines changed: 0 additions & 13 deletions
This file was deleted.

PythonLib/extra/distutils/archive_util.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,15 @@ def make_zipfile(base_name, base_dir, verbose=0, dry_run=0):
162162
zip = zipfile.ZipFile(zip_filename, "w",
163163
compression=zipfile.ZIP_DEFLATED)
164164

165+
if base_dir != os.curdir:
166+
path = os.path.normpath(os.path.join(base_dir, ''))
167+
zip.write(path, path)
168+
log.info("adding '%s'", path)
165169
for dirpath, dirnames, filenames in os.walk(base_dir):
170+
for name in dirnames:
171+
path = os.path.normpath(os.path.join(dirpath, name, ''))
172+
zip.write(path, path)
173+
log.info("adding '%s'", path)
166174
for name in filenames:
167175
path = os.path.normpath(os.path.join(dirpath, name))
168176
if os.path.isfile(path):

PythonLib/extra/distutils/command/bdist_dumb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class bdist_dumb (Command):
3535
('skip-build', None,
3636
"skip rebuilding everything (for testing/debugging)"),
3737
('relative', None,
38-
"build the archive using relative paths"
38+
"build the archive using relative paths "
3939
"(default: false)"),
4040
('owner=', 'u',
4141
"Owner name used when creating a tar file"

PythonLib/extra/distutils/command/bdist_msi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ class bdist_msi (Command):
9999
('no-target-compile', 'c',
100100
"do not compile .py to .pyc on the target system"),
101101
('no-target-optimize', 'o',
102-
"do not compile .py to .pyo (optimized)"
102+
"do not compile .py to .pyo (optimized) "
103103
"on the target system"),
104104
('dist-dir=', 'd',
105105
"directory to put final built distributions in"),
106106
('skip-build', None,
107107
"skip rebuilding everything (for testing/debugging)"),
108108
('install-script=', None,
109-
"basename of installation script to be run after"
109+
"basename of installation script to be run after "
110110
"installation or before deinstallation"),
111111
('pre-install-script=', None,
112112
"Fully qualified filename of a script to be run before "

PythonLib/extra/distutils/command/bdist_rpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class bdist_rpm (Command):
6363
"RPM \"vendor\" (eg. \"Joe Blow <[email protected]>\") "
6464
"[default: maintainer or author from setup script]"),
6565
('packager=', None,
66-
"RPM packager (eg. \"Jane Doe <[email protected]>\")"
66+
"RPM packager (eg. \"Jane Doe <[email protected]>\") "
6767
"[default: vendor]"),
6868
('doc-files=', None,
6969
"list of documentation files (space or comma-separated)"),

0 commit comments

Comments
 (0)