A zc.buildout extension changes value of NAMESPACE_PACKAGE_INIT constant from setuptools
Project description
This buildout extension changes value of NAMESPACE_PACKAGE_INIT constant from setuptools. This value used to fix namespace packages installed from wheels (https://github.com/pypa/setuptools/issues/2069).
Extension replace value of NAMESPACE_PACKAGE_INIT with code:
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Minimal usage example:
[buildout] extensions = cykooz.buildout.fix_namespace
CHANGELOG
1.0 (2020-04-14)
Initial release.
Project details
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 cykooz.buildout.fixnamespace-1.0.tar.gz
.
File metadata
- Download URL: cykooz.buildout.fixnamespace-1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8aa2b7962404d5677845a0be5332b06378a0c85ba4a16399dd0b3ac5e531b8 |
|
MD5 | 962c763b0f9d0683345c4ce3b1a470e4 |
|
BLAKE2b-256 | 1e931e197845bdd8465676826ddf9b39d82b28c3abff1a216ce1f73c40a61d20 |
File details
Details for the file cykooz.buildout.fixnamespace-1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: cykooz.buildout.fixnamespace-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b23e141a372278f7f02adc926300d91dcfb1e7529e111770f295092aa921cee |
|
MD5 | a783d4b29ac5f3f5fb0c825823b0bab5 |
|
BLAKE2b-256 | d10a1a6a53b08698fead37885e8da054a318b54d29244ccb96f4aa178c461c6b |