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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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