Skip to main content

A zc.buildout extension changes value of NAMESPACE_PACKAGE_INIT constant from setuptools

Project description

This buildout extension monkey-patch function zc.buildout.easy_install.make_egg_after_pip_install and zc.buildout.easy_install.Installer._get_dist to create file namespace_packages.txt for some packages with native namespaces (PEP-420) which doesn’t have it.

Minimal usage example:

[buildout]
extensions = cykooz.buildout.fix_namespace

CHANGELOG

2.0.6 (2024-04-11)

  • Added support of namespaced package with python-files but without subdirectories.

2.0.4 (2023-09-05)

  • Added support of packages without top_level.txt file.

2.0.2 (2023-09-03)

  • Fixed error.

2.0.0 (2023-09-03)

  • Added fix that creates namespace_packages.txt for some packages with native namespaces which doesn’t have it.

  • Removed fix of content of namespace __init__.py file.

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-2.0.6.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

cykooz.buildout.fixnamespace-2.0.6-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cykooz.buildout.fixnamespace-2.0.6.tar.gz.

File metadata

File hashes

Hashes for cykooz.buildout.fixnamespace-2.0.6.tar.gz
Algorithm Hash digest
SHA256 ae733eddd395c70f8fe445b39c479108a11ce7a6674ea8c2f4d6b018973f97e8
MD5 f213938f5910f67438e230e0f6d6f9b2
BLAKE2b-256 bb88804b9b03624b8452a0318cd0b4a625af62adfb45cdc132fdce8bbc73751c

See more details on using hashes here.

File details

Details for the file cykooz.buildout.fixnamespace-2.0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cykooz.buildout.fixnamespace-2.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eba5eec83d4cbfcb03400aa14ddf38c572b3f25035d28e1f20b585a6cf122aaa
MD5 16934abe836a8f20ba246ee7e518e768
BLAKE2b-256 d343d8a41c98d58fa971b0f652f4b0af2e9d80f646723158047cecf368f06349

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