A small example package
Project description
Test data for test_zipfile
The test executables in this directory are created manually from header.sh and
the testdata_module_inside_zip.py
file. You must have infozip's zip utility
installed (apt install zip
on Debian).
Purpose
These are used to test executable files with an appended zipfile, in a scenario
where the executable is not a Python interpreter itself so our automatic
zipimport machinery (that'd look for __main__.py
) is not being used.
Updating the test executables
If you update header.sh or the testdata_module_inside_zip.py file, rerun the commands below. These are expected to be rarely changed, if ever.
Standard old format (2.0) zip file
zip -0 zip2.zip testdata_module_inside_zip.py
cat header.sh zip2.zip >exe_with_zip
rm zip2.zip
Modern format (4.5) zip64 file
Redirecting from stdin forces infozip's zip tool to create a zip64.
zip -0 <testdata_module_inside_zip.py >zip64.zip
cat header.sh zip64.zip >exe_with_z64
rm zip64.zip
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file example-pkg-NANDINISONECHA456-0.0.1.tar.gz
.
File metadata
- Download URL: example-pkg-NANDINISONECHA456-0.0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6050f15f79b3fa16230eec56aea850c869d08a7e51e37c0e96abacb5ddef93a7 |
|
MD5 | 76f9ecf47ab457477430dbe0975c7966 |
|
BLAKE2b-256 | 8043fac641ee5e1e8542ad84668b3bdec41dc5a031d37922e29699edb3ec0c34 |
File details
Details for the file example_pkg_NANDINISONECHA456-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: example_pkg_NANDINISONECHA456-0.0.1-py2-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dca23fd0cd2a93ff083181a560a6b0af40dd2b53d71c82dd5ff9317fe8b2ddde |
|
MD5 | 197e131a2952e055618386e1a8032660 |
|
BLAKE2b-256 | e2c547b410e2ab9ee01f1bc71c974a95a1de1f6ed19031bc1b67e9a05b8b9734 |