setup.cfg
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 24 Aug 2018 17:19:02 +0200
branch3.26
changeset 12349 7e670235174f
parent 11856 92e9cbc6fc57
child 12915 f7b4c3e047c8
permissions -rw-r--r--
Fix possible double import of cubes For a new-style cube, if we import "cubicweb_<name>" and then import "cubes.<name>", the cube will be imported twice. cubes.<name> and then cubicweb_name is ok though... When using pyramid, we try to find which cube define a "includeme" by importing them with the name "cubes.<name>", so we (possibly ?) double import all new-style cube. This case may also occur in tests with PyramidCWTest. Touching the import loader to fix this scares me, so let's fix this by testing "cubicweb_<name>" *before* "cubes.name" (for old style cubes, importing cubicweb_<name> raise ImportError).

[bdist_wheel]
universal = 1

[check-manifest]
ignore =
  debian
  debian/*
  cubicweb.spec
  __pkginfo__.py