pip-custom-platform
pip+wheel wrapper which allows you to choose a custom platform name for building, downloading, and installing wheels.
This package assumes you're running your own PyPI server and would like support for wheels on named platforms that would otherwise be considered equivalent by the wheel infrastructure (for example not all linux_x86_64 are created equal).
Default platform names
By default, pip-custom-platform guesses a platform name for you based on the
distro module for Linux, and uses the default platform name on Windows, OS
X, or other systems. Some examples:
| Platform | Default Platform Name |
|---|---|
| Ubuntu Trusty (14.04) | linux_ubuntu_14_04_x86_64 |
| Debian Jessie (8) | linux_debian_8_x86_64 |
| CentOS 7 | linux_centos_7_x86_64 |
| Fedora 22 | linux_fedora_22_x86_64 |
| Red Hat 7 | linux_rhel_7_x86_64 |
| openSUSE 13.2 | linux_opensuse_13_x86_64 |
You can choose your own platform name by passing --platform my_platform on
the command line.
Installation
pip install pip-custom-platform
Usage
Building wheels
pip-custom-platform wheel --platform my-platform my-package
Downloading distributions
pip-custom-platform install --platform my-platform --download . my-package
(or with sufficiently new pip)
pip-custom-platform download --platform my-platform --dest . my-package
Installing packages
pip-custom-platform install --platform my-platform my-package
Metadata
Release files for pip-custom-platform 0.5.0
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 |
|---|---|---|---|---|
| pip_custom_platform-0.5.0.tar.gz | 5.3 kB | Without provenance | Details for pip_custom_platform-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pip_custom_platform-0.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pip_custom_platform-0.5.0-py2.py3-none-any.whl |
Total release size: 12.2 kB
Release files / pip_custom_platform-0.5.0.tar.gz
| Download URL | pip_custom_platform-0.5.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0902796d71099da8d8722a1d7ad7305921c61ae87161c80529b950d297e8894
|
|
BLAKE2b-256 checksum How to use checksums |
83b309dd880e1a040081f7cf97961adb7ade571dbf1185af30f11d126e404f8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / pip_custom_platform-0.5.0-py2.py3-none-any.whl
| Download URL | pip_custom_platform-0.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
60b65b3058f68f34ee5c42c050f5301d93d12941902f54ec307ff19b670a9b08
|
|
BLAKE2b-256 checksum How to use checksums |
0237b60c96cc0ef007eee8db554da9a190ca2f366a136600fbf8829cbad19563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for pip-custom-platform 0.5.0
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.