distutils-build-without-typehints
This package provides a setup.py build command that strips typehints from the code during the build. This is necessary for code bases that use the typehint features of python 3.6 which sometimes do not work in python 3.5 and are not available before 3.5.
This package is a quick hack to get packages that do not work with older python version because of type hints to work again. However, it only strips things from the typing module in a very primitive manner.
Usage
Add the package to your setup requirements:
setup(
...
setup_requires=[
...
'distutils_build_without_typehints',
...
],
...
)
And put an alias in the setup.cfg:
[aliases] build=build_without_typehints
Metadata
Release files for distutils_build_without_typehints 0.6.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 |
|---|---|---|---|---|
| distutils_build_without_typehints-0.6.1.tar.gz | 7.1 kB | Without provenance | Details for distutils_build_without_typehints-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| distutils_build_without_typehints-0.6.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for distutils_build_without_typehints-0.6.1-py2.py3-none-any.whl |
Total release size: 15.5 kB
Release files / distutils_build_without_typehints-0.6.1.tar.gz
| Download URL | distutils_build_without_typehints-0.6.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d744313a39d9f2ac44e0e3bad2d4343ef184f1d730d4c15202cce8d3deaa587
|
|
BLAKE2b-256 checksum How to use checksums |
a65c5dfb6e1205e91896261a05d98635f20f0bc5c671143936056fdd19845f7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / distutils_build_without_typehints-0.6.1-py2.py3-none-any.whl
| Download URL | distutils_build_without_typehints-0.6.1-py2.py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ec8013269d1bc05a0a0bf3defc34379be10191ccaef299d44eaf79187b2e2bb0
|
|
BLAKE2b-256 checksum How to use checksums |
102faeeae20f3fde23ff4ce8631f6d1c0a93d976615e97afb3de4d12d9a46ea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for distutils_build_without_typehints 0.6.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.