Linux biogene 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
Apache
: 46.101.124.208 | : 18.217.217.234
Cant Read [ /etc/named.conf ]
5.6.40-0+deb8u12
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
dist-packages /
setuptools /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
12.24
KB
-rw-r--r--
__init__.pyc
13.66
KB
-rw-r--r--
environment.py
4.55
KB
-rw-r--r--
environment.pyc
4.99
KB
-rw-r--r--
py26compat.py
267
B
-rw-r--r--
py26compat.pyc
795
B
-rw-r--r--
script-with-bom.py
46
B
-rw-r--r--
script-with-bom.pyc
183
B
-rw-r--r--
server.py
2.59
KB
-rw-r--r--
server.pyc
4.06
KB
-rw-r--r--
test_bdist_egg.py
1.92
KB
-rw-r--r--
test_bdist_egg.pyc
2.87
KB
-rw-r--r--
test_build_ext.py
650
B
-rw-r--r--
test_build_ext.pyc
1.06
KB
-rw-r--r--
test_develop.py
3.41
KB
-rw-r--r--
test_develop.pyc
3.82
KB
-rw-r--r--
test_dist_info.py
2.55
KB
-rw-r--r--
test_dist_info.pyc
3.39
KB
-rw-r--r--
test_easy_install.py
15.34
KB
-rw-r--r--
test_easy_install.pyc
17.09
KB
-rw-r--r--
test_egg_info.py
6.59
KB
-rw-r--r--
test_egg_info.pyc
7.35
KB
-rw-r--r--
test_find_packages.py
5.86
KB
-rw-r--r--
test_find_packages.pyc
8.52
KB
-rw-r--r--
test_integration.py
2.45
KB
-rw-r--r--
test_integration.pyc
3.14
KB
-rw-r--r--
test_markerlib.py
2.45
KB
-rw-r--r--
test_markerlib.pyc
2.78
KB
-rw-r--r--
test_packageindex.py
7.45
KB
-rw-r--r--
test_packageindex.pyc
9.69
KB
-rw-r--r--
test_resources.py
23.09
KB
-rwxr-xr-x
test_resources.pyc
26.69
KB
-rw-r--r--
test_sandbox.py
2.31
KB
-rw-r--r--
test_sandbox.pyc
3.92
KB
-rw-r--r--
test_sdist.py
17.56
KB
-rw-r--r--
test_sdist.pyc
16.29
KB
-rw-r--r--
test_svn.py
7.62
KB
-rw-r--r--
test_svn.pyc
11.39
KB
-rw-r--r--
test_test.py
3.61
KB
-rw-r--r--
test_test.pyc
3.88
KB
-rw-r--r--
test_upload_docs.py
2.09
KB
-rw-r--r--
test_upload_docs.pyc
2.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_dist_info.py
"""Test .dist-info style distributions. """ import os import shutil import tempfile import unittest import textwrap try: import ast except: pass import pkg_resources from setuptools.tests.py26compat import skipIf def DALS(s): "dedent and left-strip" return textwrap.dedent(s).lstrip() class TestDistInfo(unittest.TestCase): def test_distinfo(self): dists = {} for d in pkg_resources.find_distributions(self.tmpdir): dists[d.project_name] = d assert len(dists) == 2, dists unversioned = dists['UnversionedDistribution'] versioned = dists['VersionedDistribution'] assert versioned.version == '2.718' # from filename assert unversioned.version == '0.3' # from METADATA @skipIf('ast' not in globals(), "ast is used to test conditional dependencies (Python >= 2.6)") def test_conditional_dependencies(self): requires = [pkg_resources.Requirement.parse('splort==4'), pkg_resources.Requirement.parse('quux>=1.1')] for d in pkg_resources.find_distributions(self.tmpdir): self.assertEqual(d.requires(), requires[:1]) self.assertEqual(d.requires(extras=('baz',)), requires) self.assertEqual(d.extras, ['baz']) def setUp(self): self.tmpdir = tempfile.mkdtemp() versioned = os.path.join(self.tmpdir, 'VersionedDistribution-2.718.dist-info') os.mkdir(versioned) metadata_file = open(os.path.join(versioned, 'METADATA'), 'w+') try: metadata_file.write(DALS( """ Metadata-Version: 1.2 Name: VersionedDistribution Requires-Dist: splort (4) Provides-Extra: baz Requires-Dist: quux (>=1.1); extra == 'baz' """)) finally: metadata_file.close() unversioned = os.path.join(self.tmpdir, 'UnversionedDistribution.dist-info') os.mkdir(unversioned) metadata_file = open(os.path.join(unversioned, 'METADATA'), 'w+') try: metadata_file.write(DALS( """ Metadata-Version: 1.2 Name: UnversionedDistribution Version: 0.3 Requires-Dist: splort (==4) Provides-Extra: baz Requires-Dist: quux (>=1.1); extra == 'baz' """)) finally: metadata_file.close() def tearDown(self): shutil.rmtree(self.tmpdir)
Close