Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
distutils /
command /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
822
B
-rw-r--r--
2022-02-06 21:16
__init__.pyc
663
B
-rw-r--r--
2022-03-20 10:36
bdist.py
5.46
KB
-rw-r--r--
2022-02-06 21:16
bdist.pyc
5.04
KB
-rw-r--r--
2022-03-20 10:36
bdist_dumb.py
5.07
KB
-rw-r--r--
2022-02-06 21:16
bdist_dumb.pyc
4.85
KB
-rw-r--r--
2022-03-20 10:36
bdist_msi.py
34.37
KB
-rw-r--r--
2022-02-06 21:16
bdist_msi.pyc
23.36
KB
-rw-r--r--
2022-03-20 10:36
bdist_rpm.py
20.55
KB
-rw-r--r--
2022-02-06 21:16
bdist_rpm.pyc
17.18
KB
-rw-r--r--
2022-03-20 10:36
bdist_wininst.py
14.84
KB
-rw-r--r--
2022-02-06 21:16
bdist_wininst.pyc
10.63
KB
-rw-r--r--
2022-03-20 10:36
build.py
5.37
KB
-rw-r--r--
2022-02-06 21:16
build.pyc
5
KB
-rw-r--r--
2022-03-20 10:36
build_clib.py
7.94
KB
-rw-r--r--
2022-02-06 21:16
build_clib.pyc
6.18
KB
-rw-r--r--
2022-03-20 10:36
build_ext.py
31.53
KB
-rw-r--r--
2022-02-06 21:16
build_ext.pyc
18.81
KB
-rw-r--r--
2022-03-20 10:36
build_py.py
15.96
KB
-rw-r--r--
2022-02-06 21:16
build_py.pyc
11.18
KB
-rw-r--r--
2022-03-20 10:36
build_scripts.py
4.49
KB
-rw-r--r--
2022-02-06 21:16
build_scripts.pyc
4.36
KB
-rw-r--r--
2022-03-20 10:36
check.py
5.44
KB
-rw-r--r--
2022-02-06 21:16
check.pyc
6.05
KB
-rw-r--r--
2022-03-20 10:36
clean.py
2.75
KB
-rw-r--r--
2022-02-06 21:16
clean.pyc
2.99
KB
-rw-r--r--
2022-03-20 10:36
command_template
719
B
-rw-r--r--
2022-02-06 21:16
config.py
12.82
KB
-rw-r--r--
2022-02-06 21:16
config.pyc
12.35
KB
-rw-r--r--
2022-03-20 10:36
install.py
27.34
KB
-rw-r--r--
2022-02-06 21:16
install.pyc
17.47
KB
-rw-r--r--
2022-03-20 10:36
install_data.py
2.78
KB
-rw-r--r--
2022-02-06 21:16
install_data.pyc
3.03
KB
-rw-r--r--
2022-03-20 10:36
install_egg_info.py
3.51
KB
-rw-r--r--
2022-02-06 21:16
install_egg_info.pyc
4.25
KB
-rw-r--r--
2022-03-20 10:36
install_headers.py
1.31
KB
-rw-r--r--
2022-02-06 21:16
install_headers.pyc
2.19
KB
-rw-r--r--
2022-03-20 10:36
install_lib.py
8.14
KB
-rw-r--r--
2022-02-06 21:16
install_lib.pyc
6.5
KB
-rw-r--r--
2022-03-20 10:36
install_scripts.py
2.02
KB
-rw-r--r--
2022-02-06 21:16
install_scripts.pyc
2.85
KB
-rw-r--r--
2022-03-20 10:36
register.py
11.56
KB
-rw-r--r--
2022-02-06 21:16
register.pyc
9.94
KB
-rw-r--r--
2022-03-20 10:36
sdist.py
18.12
KB
-rw-r--r--
2022-02-06 21:16
sdist.pyc
16.27
KB
-rw-r--r--
2022-03-20 10:36
upload.py
6.88
KB
-rw-r--r--
2022-02-06 21:16
upload.pyc
6.16
KB
-rw-r--r--
2022-03-20 10:36
Save
Rename
"""distutils.command.bdist Implements the Distutils 'bdist' command (create a built [binary] distribution).""" __revision__ = "$Id$" import os from distutils.util import get_platform from distutils.core import Command from distutils.errors import DistutilsPlatformError, DistutilsOptionError def show_formats(): """Print list of available formats (arguments to "--format" option). """ from distutils.fancy_getopt import FancyGetopt formats = [] for format in bdist.format_commands: formats.append(("formats=" + format, None, bdist.format_command[format][1])) pretty_printer = FancyGetopt(formats) pretty_printer.print_help("List of available distribution formats:") class bdist(Command): description = "create a built (binary) distribution" user_options = [('bdist-base=', 'b', "temporary directory for creating built distributions"), ('plat-name=', 'p', "platform name to embed in generated filenames " "(default: %s)" % get_platform()), ('formats=', None, "formats for distribution (comma-separated list)"), ('dist-dir=', 'd', "directory to put final built distributions in " "[default: dist]"), ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), ('owner=', 'u', "Owner name used when creating a tar file" " [default: current user]"), ('group=', 'g', "Group name used when creating a tar file" " [default: current group]"), ] boolean_options = ['skip-build'] help_options = [ ('help-formats', None, "lists available distribution formats", show_formats), ] # The following commands do not take a format option from bdist no_format_option = ('bdist_rpm',) # This won't do in reality: will need to distinguish RPM-ish Linux, # Debian-ish Linux, Solaris, FreeBSD, ..., Windows, Mac OS. default_format = {'posix': 'gztar', 'nt': 'zip', 'os2': 'zip'} # Establish the preferred order (for the --help-formats option). format_commands = ['rpm', 'gztar', 'bztar', 'ztar', 'tar', 'wininst', 'zip', 'msi'] # And the real information. format_command = {'rpm': ('bdist_rpm', "RPM distribution"), 'gztar': ('bdist_dumb', "gzip'ed tar file"), 'bztar': ('bdist_dumb', "bzip2'ed tar file"), 'ztar': ('bdist_dumb', "compressed tar file"), 'tar': ('bdist_dumb', "tar file"), 'wininst': ('bdist_wininst', "Windows executable installer"), 'zip': ('bdist_dumb', "ZIP file"), 'msi': ('bdist_msi', "Microsoft Installer") } def initialize_options(self): self.bdist_base = None self.plat_name = None self.formats = None self.dist_dir = None self.skip_build = 0 self.group = None self.owner = None def finalize_options(self): # have to finalize 'plat_name' before 'bdist_base' if self.plat_name is None: if self.skip_build: self.plat_name = get_platform() else: self.plat_name = self.get_finalized_command('build').plat_name # 'bdist_base' -- parent of per-built-distribution-format # temporary directories (eg. we'll probably have # "build/bdist.<plat>/dumb", "build/bdist.<plat>/rpm", etc.) if self.bdist_base is None: build_base = self.get_finalized_command('build').build_base self.bdist_base = os.path.join(build_base, 'bdist.' + self.plat_name) self.ensure_string_list('formats') if self.formats is None: try: self.formats = [self.default_format[os.name]] except KeyError: raise DistutilsPlatformError, \ "don't know how to create built distributions " + \ "on platform %s" % os.name if self.dist_dir is None: self.dist_dir = "dist" def run(self): # Figure out which sub-commands we need to run. commands = [] for format in self.formats: try: commands.append(self.format_command[format][0]) except KeyError: raise DistutilsOptionError, "invalid format '%s'" % format # Reinitialize and run each command. for i in range(len(self.formats)): cmd_name = commands[i] sub_cmd = self.reinitialize_command(cmd_name) if cmd_name not in self.no_format_option: sub_cmd.format = self.formats[i] # passing the owner and group names for tar archiving if cmd_name == 'bdist_dumb': sub_cmd.owner = self.owner sub_cmd.group = self.group # If we're going to need to run this command again, tell it to # keep its temporary files around so subsequent runs go faster. if cmd_name in commands[i+1:]: sub_cmd.keep_temp = 1 self.run_command(cmd_name)