Skip to main content

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

cykooz.buildout.fixnamespace-1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

cykooz.buildout.fixnamespace-1.0-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

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

Hashes for cykooz.buildout.fixnamespace-1.0.tar.gz
Algorithm Hash digest
SHA256 7e8aa2b7962404d5677845a0be5332b06378a0c85ba4a16399dd0b3ac5e531b8
MD5 962c763b0f9d0683345c4ce3b1a470e4
BLAKE2b-256 1e931e197845bdd8465676826ddf9b39d82b28c3abff1a216ce1f73c40a61d20

See more details on using hashes here.

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

Hashes for cykooz.buildout.fixnamespace-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b23e141a372278f7f02adc926300d91dcfb1e7529e111770f295092aa921cee
MD5 a783d4b29ac5f3f5fb0c825823b0bab5
BLAKE2b-256 d10a1a6a53b08698fead37885e8da054a318b54d29244ccb96f4aa178c461c6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page