Skip to main content

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)

Source distribution for distutils_build_without_typehints 0.6.1
File Size Uploaded
distutils_build_without_typehints-0.6.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for distutils_build_without_typehints 0.6.1
File Interpreter ABI Platform
distutils_build_without_typehints-0.6.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page