Linux business57.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
Server IP : 199.188.201.191 & Your IP : 18.188.66.142
Domains :
Cant Read [ /etc/named.conf ]
User : derozboy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python27 /
lib64 /
python2.7 /
distutils /
Delete
Unzip
Name
Size
Permission
Date
Action
command
[ DIR ]
drwxr-xr-x
2025-01-21 09:42
README
295
B
-rw-r--r--
2025-01-08 10:43
__init__.py
236
B
-rw-r--r--
2025-01-08 10:43
__init__.pyc
428
B
-rw-r--r--
2025-01-08 10:43
__init__.pyo
428
B
-rw-r--r--
2025-01-08 10:43
archive_util.py
8.03
KB
-rw-r--r--
2025-01-08 10:43
archive_util.pyc
7.52
KB
-rw-r--r--
2025-01-08 10:43
archive_util.pyo
7.52
KB
-rw-r--r--
2025-01-08 10:43
bcppcompiler.py
14.59
KB
-rw-r--r--
2025-01-08 10:43
bcppcompiler.pyc
7.81
KB
-rw-r--r--
2025-01-08 10:43
bcppcompiler.pyo
7.81
KB
-rw-r--r--
2025-01-08 10:43
ccompiler.py
45.63
KB
-rw-r--r--
2025-01-08 10:43
ccompiler.pyc
36.72
KB
-rw-r--r--
2025-01-08 10:43
ccompiler.pyo
36.58
KB
-rw-r--r--
2025-01-08 10:43
cmd.py
18.82
KB
-rw-r--r--
2025-01-08 10:43
cmd.pyc
16.88
KB
-rw-r--r--
2025-01-08 10:43
cmd.pyo
16.88
KB
-rw-r--r--
2025-01-08 10:43
config.py
4.04
KB
-rw-r--r--
2025-01-08 10:43
config.pyc
3.57
KB
-rw-r--r--
2025-01-08 10:43
config.pyo
3.57
KB
-rw-r--r--
2025-01-08 10:43
core.py
8.81
KB
-rw-r--r--
2025-01-08 10:43
core.pyc
7.41
KB
-rw-r--r--
2025-01-08 10:43
core.pyo
7.41
KB
-rw-r--r--
2025-01-08 10:43
cygwinccompiler.py
17.32
KB
-rw-r--r--
2025-01-08 10:43
cygwinccompiler.pyc
9.75
KB
-rw-r--r--
2025-01-08 10:43
cygwinccompiler.pyo
9.75
KB
-rw-r--r--
2025-01-08 10:43
debug.py
162
B
-rw-r--r--
2025-01-08 10:43
debug.pyc
267
B
-rw-r--r--
2025-01-08 10:43
debug.pyo
267
B
-rw-r--r--
2025-01-08 10:43
dep_util.py
3.43
KB
-rw-r--r--
2025-01-08 10:43
dep_util.pyc
3.16
KB
-rw-r--r--
2025-01-08 10:43
dep_util.pyo
3.16
KB
-rw-r--r--
2025-01-08 10:43
dir_util.py
7.68
KB
-rw-r--r--
2025-01-08 10:43
dir_util.pyc
6.72
KB
-rw-r--r--
2025-01-08 10:43
dir_util.pyo
6.72
KB
-rw-r--r--
2025-01-08 10:43
dist.py
48.88
KB
-rw-r--r--
2025-01-08 10:43
dist.pyc
39.11
KB
-rw-r--r--
2025-01-08 10:43
dist.pyo
39.11
KB
-rw-r--r--
2025-01-08 10:43
emxccompiler.py
11.65
KB
-rw-r--r--
2025-01-08 10:43
emxccompiler.pyc
7.41
KB
-rw-r--r--
2025-01-08 10:43
emxccompiler.pyo
7.41
KB
-rw-r--r--
2025-01-08 10:43
errors.py
3.41
KB
-rw-r--r--
2025-01-08 10:43
errors.pyc
6.39
KB
-rw-r--r--
2025-01-08 10:43
errors.pyo
6.39
KB
-rw-r--r--
2025-01-08 10:43
extension.py
10.65
KB
-rw-r--r--
2025-01-08 10:43
extension.pyc
7.29
KB
-rw-r--r--
2025-01-08 10:43
extension.pyo
7.07
KB
-rw-r--r--
2025-01-08 10:43
fancy_getopt.py
17.53
KB
-rw-r--r--
2025-01-08 10:43
fancy_getopt.pyc
11.94
KB
-rw-r--r--
2025-01-08 10:43
fancy_getopt.pyo
11.77
KB
-rw-r--r--
2025-01-08 10:43
file_util.py
7.94
KB
-rw-r--r--
2025-01-08 10:43
file_util.pyc
6.66
KB
-rw-r--r--
2025-01-08 10:43
file_util.pyo
6.66
KB
-rw-r--r--
2025-01-08 10:43
filelist.py
12.39
KB
-rw-r--r--
2025-01-08 10:43
filelist.pyc
10.72
KB
-rw-r--r--
2025-01-08 10:43
filelist.pyo
10.72
KB
-rw-r--r--
2025-01-08 10:43
log.py
1.65
KB
-rw-r--r--
2025-01-08 10:43
log.pyc
2.87
KB
-rw-r--r--
2025-01-08 10:43
log.pyo
2.87
KB
-rw-r--r--
2025-01-08 10:43
msvc9compiler.py
30.28
KB
-rw-r--r--
2025-01-08 10:43
msvc9compiler.pyc
21.39
KB
-rw-r--r--
2025-01-08 10:43
msvc9compiler.pyo
21.32
KB
-rw-r--r--
2025-01-08 10:43
msvccompiler.py
23.08
KB
-rw-r--r--
2025-01-08 10:43
msvccompiler.pyc
17.44
KB
-rw-r--r--
2025-01-08 10:43
msvccompiler.pyo
17.44
KB
-rw-r--r--
2025-01-08 10:43
spawn.py
8.45
KB
-rw-r--r--
2025-01-08 10:43
spawn.pyc
6.37
KB
-rw-r--r--
2025-01-08 10:43
spawn.pyo
6.37
KB
-rw-r--r--
2025-01-08 10:43
sysconfig.py
17.29
KB
-rw-r--r--
2025-01-08 10:43
sysconfig.py.debug-build
17.21
KB
-rw-r--r--
2025-01-08 10:43
sysconfig.pyc
13.29
KB
-rw-r--r--
2025-01-08 10:43
sysconfig.pyo
13.29
KB
-rw-r--r--
2025-01-08 10:43
text_file.py
12.14
KB
-rw-r--r--
2025-01-08 10:43
text_file.pyc
9.18
KB
-rw-r--r--
2025-01-08 10:43
text_file.pyo
9.18
KB
-rw-r--r--
2025-01-08 10:43
unixccompiler.py
13.89
KB
-rw-r--r--
2025-01-08 10:43
unixccompiler.py.distutils-rpath
13.36
KB
-rw-r--r--
2025-01-08 10:43
unixccompiler.pyc
8.19
KB
-rw-r--r--
2025-01-08 10:43
unixccompiler.pyo
8.19
KB
-rw-r--r--
2025-01-08 10:43
util.py
17.81
KB
-rw-r--r--
2025-01-08 10:43
util.pyc
14.23
KB
-rw-r--r--
2025-01-08 10:43
util.pyo
14.23
KB
-rw-r--r--
2025-01-08 10:43
version.py
11.17
KB
-rw-r--r--
2025-01-08 10:43
version.pyc
7.23
KB
-rw-r--r--
2025-01-08 10:43
version.pyo
7.23
KB
-rw-r--r--
2025-01-08 10:43
versionpredicate.py
4.98
KB
-rw-r--r--
2025-01-08 10:43
versionpredicate.pyc
5.5
KB
-rw-r--r--
2025-01-08 10:43
versionpredicate.pyo
5.5
KB
-rw-r--r--
2025-01-08 10:43
Save
Rename
"""distutils.pypirc Provides the PyPIRCCommand class, the base class for the command classes that uses .pypirc in the distutils.command package. """ import os from ConfigParser import ConfigParser from distutils.cmd import Command DEFAULT_PYPIRC = """\ [distutils] index-servers = pypi [pypi] username:%s password:%s """ class PyPIRCCommand(Command): """Base command that knows how to handle the .pypirc file """ DEFAULT_REPOSITORY = 'https://upload.pypi.org/legacy/' DEFAULT_REALM = 'pypi' repository = None realm = None user_options = [ ('repository=', 'r', "url of repository [default: %s]" % \ DEFAULT_REPOSITORY), ('show-response', None, 'display full response text from server')] boolean_options = ['show-response'] def _get_rc_file(self): """Returns rc file path.""" return os.path.join(os.path.expanduser('~'), '.pypirc') def _store_pypirc(self, username, password): """Creates a default .pypirc file.""" rc = self._get_rc_file() f = os.fdopen(os.open(rc, os.O_CREAT | os.O_WRONLY, 0600), 'w') try: f.write(DEFAULT_PYPIRC % (username, password)) finally: f.close() def _read_pypirc(self): """Reads the .pypirc file.""" rc = self._get_rc_file() if os.path.exists(rc): self.announce('Using PyPI login from %s' % rc) repository = self.repository or self.DEFAULT_REPOSITORY config = ConfigParser() config.read(rc) sections = config.sections() if 'distutils' in sections: # let's get the list of servers index_servers = config.get('distutils', 'index-servers') _servers = [server.strip() for server in index_servers.split('\n') if server.strip() != ''] if _servers == []: # nothing set, let's try to get the default pypi if 'pypi' in sections: _servers = ['pypi'] else: # the file is not properly defined, returning # an empty dict return {} for server in _servers: current = {'server': server} current['username'] = config.get(server, 'username') # optional params for key, default in (('repository', self.DEFAULT_REPOSITORY), ('realm', self.DEFAULT_REALM), ('password', None)): if config.has_option(server, key): current[key] = config.get(server, key) else: current[key] = default if (current['server'] == repository or current['repository'] == repository): return current elif 'server-login' in sections: # old format server = 'server-login' if config.has_option(server, 'repository'): repository = config.get(server, 'repository') else: repository = self.DEFAULT_REPOSITORY return {'username': config.get(server, 'username'), 'password': config.get(server, 'password'), 'repository': repository, 'server': server, 'realm': self.DEFAULT_REALM} return {} def initialize_options(self): """Initialize options.""" self.repository = None self.realm = None self.show_response = 0 def finalize_options(self): """Finalizes options.""" if self.repository is None: self.repository = self.DEFAULT_REPOSITORY if self.realm is None: self.realm = self.DEFAULT_REALM