EggsPacker
What is it ?
EggsPacker allows you to put in a single directory a python egg and all its dependencies as long as it is able to find them in a python index.
It is almost equivalent as running “easy_install -zmaxd basket somepackage”, with 2 important differences :
The python version and target platform can be changed from the system ones. This allow to prepare all the necessary eggs for a py2.5 win32 distribution on a py2.7 linux (for example).
EggsPacker will only work with eggs, no sources. So it requires an index that have all the dependencies available as eggs for the correct target platform / python version.
Disclaimer
The implementation rely as much as possible on pkg_resources to resolve the requirements and read the metadata, so there should be no wrong version packed although I of course give no warranty of any kind.
Reading the package index on the other hand was tested only on a an index builded by http://pypi.python.org/pypi/basketweaver/, so expect issues if hitting directly the pypi index.
Usage
Usage: packeggs [options] pkgname [pkgname [pkgname...]]
Options:
-h, --help show this help message and exit
-i INDEX, --index=INDEX
A Pypi compatible index URL. Default to pypi
-t TARGETDIR, --targetdir=TARGETDIR
Target directory. Default: "basket".
--python-version=PYTHON_VERSION
Target python version.
--platform=PLATFORM Target platform
--unzip=UNZIP Unzip the asked egg if present in the dependencies.
The special value "auto" will guess what to do with
with not-zip-safe flag, and "all" will force unzipping
of all the eggs. Can be specified several times.
Example
The following command will get into the ‘basket’ directory the ANicePackage-0.1-py2.5 egg and all its dependencies for the win32 platform, while unzipping the eggs not marked as zip-safe plus forcely unzipping ANicePackage:
packeggs -i http://yourserver/your/package/index --python-version 2.5 --platform win32 --targetdir basket ANicePackage==0.1 --unzip auto --unzip ANicePackage
Metadata
Release files for EggsPacker 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| EggsPacker-0.1.tar.gz | 4.5 kB | Without provenance | Details for EggsPacker-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EggsPacker-0.1-py2.7.egg | Legacy Egg format | - | - | Details for EggsPacker-0.1-py2.7.egg |
Total release size: 14.2 kB
Release files / EggsPacker-0.1.tar.gz
| Download URL | EggsPacker-0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9257ef04b0ba9a749665475e690977a3828263584bf488fd2658c5a68aea3b51
|
|
BLAKE2b-256 checksum How to use checksums |
a3533a73ff109116fb5779707899487fb8e0fcde8109e03245fa68f196c530a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / EggsPacker-0.1-py2.7.egg
| Download URL | EggsPacker-0.1-py2.7.egg |
|---|---|
| Size | 9.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e4dadaf56aaff981c7d01439608cdd75439717aa69002b6a44233358d387fec0
|
|
BLAKE2b-256 checksum How to use checksums |
dfa06cda7e78816cb7670974c544ee6da44266a8f3e98cd8afb3612a4708b3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for EggsPacker 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.