[PATCH 2 of 2 Cubicweb] [pkginfo] Retrive cube's version using pkg_resources

Nsukami Patrick ptrck at nskm.xyz
Fri Jan 3 18:04:59 CET 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1578070985 0
#      Fri Jan 03 17:03:05 2020 +0000
# Node ID 5722e648c81fb651b5821511a722444872e98e75
# Parent  a72c89e9ab363dba57434692ebcece975cffcc53
[pkginfo] Retrive cube's version using pkg_resources

- update cwconfig.py to retrieve cube version using pkg_resources
- update cwctl.py to use the updated cube_version function
- add all the egg-info folders needed by pkg_resources to retrieve cube version during migration tests

diff --git a/cubicweb/cwconfig.py b/cubicweb/cwconfig.py
--- a/cubicweb/cwconfig.py
+++ b/cubicweb/cwconfig.py
@@ -494,7 +494,23 @@
         """return the version of the cube located in the given directory
         """
         from logilab.common.changelog import Version
-        version = cls.cube_pkginfo(cube).numversion
+
+        try:
+            distribution = pkg_resources.get_distribution(cube)
+        except pkg_resources.DistributionNotFound:
+            try:
+                distribution = pkg_resources.get_distribution(_cube_pkgname(cube))
+            except pkg_resources.DistributionNotFound:
+                # how to pass current apphome to find_distributions?
+                distribution_list = pkg_resources.find_distributions(sys.path[0])
+                for dist in distribution_list:
+                    if cube in dist.project_name:
+                        distribution = dist
+                        break
+
+        str_version = distribution.version
+        version = tuple([int(x) for x in str_version.split('.')])
+
         assert len(version) == 3, version
         return Version(version)
 
diff --git a/cubicweb/cwctl.py b/cubicweb/cwctl.py
--- a/cubicweb/cwctl.py
+++ b/cubicweb/cwctl.py
@@ -278,7 +278,7 @@
                 for cube in cube_names:
                     try:
                         tinfo = cwcfg.cube_pkginfo(cube)
-                        tversion = tinfo.version
+                        tversion = str(cwcfg.cube_version(cube))
                         cfgpb.add_cube(cube, tversion)
                     except (ConfigurationError, AttributeError) as ex:
                         tinfo = None
diff --git a/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-basket
+Version: 1.2.3
+Summary: Basket component
+Home-page: http://www.cubicweb.org/project/basket
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/SOURCES.txt
@@ -0,0 +1,10 @@
+setup.py
+cubicweb_basket/__init__.py
+cubicweb_basket/__pkginfo__.py
+cubicweb_basket/schema.py
+cubicweb_basket.egg-info/PKG-INFO
+cubicweb_basket.egg-info/SOURCES.txt
+cubicweb_basket.egg-info/dependency_links.txt
+cubicweb_basket.egg-info/entry_points.txt
+cubicweb_basket.egg-info/not-zip-safe
+cubicweb_basket.egg-info/top_level.txt
\ No newline at end of file
diff --git a/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+basket = cubicweb_basket
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_basket.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_basket
diff --git a/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-card
+Version: 1.2.3
+Summary: Card component
+Home-page: http://www.cubicweb.org/project/card
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/SOURCES.txt
@@ -0,0 +1,10 @@
+setup.py
+cubicweb_card/__init__.py
+cubicweb_card/__pkginfo__.py
+cubicweb_card/schema.py
+cubicweb_card.egg-info/PKG-INFO
+cubicweb_card.egg-info/SOURCES.txt
+cubicweb_card.egg-info/dependency_links.txt
+cubicweb_card.egg-info/entry_points.txt
+cubicweb_card.egg-info/not-zip-safe
+cubicweb_card.egg-info/top_level.txt
\ No newline at end of file
diff --git a/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+card = cubicweb_card
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_card.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_card
diff --git a/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-comment
+Version: 1.2.3
+Summary: Comment component
+Home-page: http://www.cubicweb.org/project/comment
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_comment/__init__.py
+cubicweb_comment/__pkginfo__.py
+cubicweb_comment/schema.py
+cubicweb_comment.egg-info/PKG-INFO
+cubicweb_comment.egg-info/SOURCES.txt
+cubicweb_comment.egg-info/dependency_links.txt
+cubicweb_comment.egg-info/entry_points.txt
+cubicweb_comment.egg-info/not-zip-safe
+cubicweb_comment.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+comment = cubicweb_comment
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_comment.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_comment
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-fakecustomtype
+Version: 1.0.0
+Summary: Fakecustomtype component
+Home-page: http://www.cubicweb.org/project/fakecustomtype
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_fakecustomtype/__init__.py
+cubicweb_fakecustomtype/__pkginfo__.py
+cubicweb_fakecustomtype/schema.py
+cubicweb_fakecustomtype.egg-info/PKG-INFO
+cubicweb_fakecustomtype.egg-info/SOURCES.txt
+cubicweb_fakecustomtype.egg-info/dependency_links.txt
+cubicweb_fakecustomtype.egg-info/entry_points.txt
+cubicweb_fakecustomtype.egg-info/not-zip-safe
+cubicweb_fakecustomtype.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+fakecustomtype = cubicweb_fakecustomtype
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakecustomtype.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_fakecustomtype
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-fakeemail
+Version: 1.10.0
+Summary: Fakeemail component
+Home-page: http://www.cubicweb.org/project/fakeemail
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_fakeemail/__init__.py
+cubicweb_fakeemail/__pkginfo__.py
+cubicweb_fakeemail/schema.py
+cubicweb_fakeemail.egg-info/PKG-INFO
+cubicweb_fakeemail.egg-info/SOURCES.txt
+cubicweb_fakeemail.egg-info/dependency_links.txt
+cubicweb_fakeemail.egg-info/entry_points.txt
+cubicweb_fakeemail.egg-info/not-zip-safe
+cubicweb_fakeemail.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+fakeemail = cubicweb_fakeemail
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_fakeemail.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_fakeemail
diff --git a/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-file
+Version: 1.2.3
+Summary: File component
+Home-page: http://www.cubicweb.org/project/file
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_file/__init__.py
+cubicweb_file/__pkginfo__.py
+cubicweb_file/schema.py
+cubicweb_file.egg-info/PKG-INFO
+cubicweb_file.egg-info/SOURCES.txt
+cubicweb_file.egg-info/dependency_links.txt
+cubicweb_file.egg-info/entry_points.txt
+cubicweb_file.egg-info/not-zip-safe
+cubicweb_file.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+file = cubicweb_file
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_file.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_file
diff --git a/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-localperms
+Version: 1.2.3
+Summary: Localperms component
+Home-page: http://www.cubicweb.org/project/localperms
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_localperms/__init__.py
+cubicweb_localperms/__pkginfo__.py
+cubicweb_localperms/schema.py
+cubicweb_localperms.egg-info/PKG-INFO
+cubicweb_localperms.egg-info/SOURCES.txt
+cubicweb_localperms.egg-info/dependency_links.txt
+cubicweb_localperms.egg-info/entry_points.txt
+cubicweb_localperms.egg-info/not-zip-safe
+cubicweb_localperms.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+localperms = cubicweb_localperms
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_localperms.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_localperms
diff --git a/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/PKG-INFO b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-tag
+Version: 1.2.3
+Summary: Tag component
+Home-page: http://www.cubicweb.org/project/tag
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/SOURCES.txt b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_tag/__init__.py
+cubicweb_tag/__pkginfo__.py
+cubicweb_tag/schema.py
+cubicweb_tag.egg-info/PKG-INFO
+cubicweb_tag.egg-info/SOURCES.txt
+cubicweb_tag.egg-info/dependency_links.txt
+cubicweb_tag.egg-info/entry_points.txt
+cubicweb_tag.egg-info/not-zip-safe
+cubicweb_tag.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/dependency_links.txt b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/entry_points.txt b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+tag = cubicweb_tag
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/not-zip-safe b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/top_level.txt b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data-migractions/cubicweb_tag.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_tag
diff --git a/cubicweb/server/test/data/cubicweb_basket.egg-info/PKG-INFO b/cubicweb/server/test/data/cubicweb_basket.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_basket.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-basket
+Version: 1.2.3
+Summary: Basket component
+Home-page: http://www.cubicweb.org/project/basket
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data/cubicweb_basket.egg-info/SOURCES.txt b/cubicweb/server/test/data/cubicweb_basket.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_basket.egg-info/SOURCES.txt
@@ -0,0 +1,10 @@
+setup.py
+cubicweb_basket/__init__.py
+cubicweb_basket/__pkginfo__.py
+cubicweb_basket/schema.py
+cubicweb_basket.egg-info/PKG-INFO
+cubicweb_basket.egg-info/SOURCES.txt
+cubicweb_basket.egg-info/dependency_links.txt
+cubicweb_basket.egg-info/entry_points.txt
+cubicweb_basket.egg-info/not-zip-safe
+cubicweb_basket.egg-info/top_level.txt
\ No newline at end of file
diff --git a/cubicweb/server/test/data/cubicweb_basket.egg-info/dependency_links.txt b/cubicweb/server/test/data/cubicweb_basket.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_basket.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_basket.egg-info/entry_points.txt b/cubicweb/server/test/data/cubicweb_basket.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_basket.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+basket = cubicweb_basket
+
diff --git a/cubicweb/server/test/data/cubicweb_basket.egg-info/not-zip-safe b/cubicweb/server/test/data/cubicweb_basket.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_basket.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_basket.egg-info/top_level.txt b/cubicweb/server/test/data/cubicweb_basket.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_basket.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_basket
diff --git a/cubicweb/server/test/data/cubicweb_card.egg-info/PKG-INFO b/cubicweb/server/test/data/cubicweb_card.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_card.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-card
+Version: 1.2.3
+Summary: Card component
+Home-page: http://www.cubicweb.org/project/card
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data/cubicweb_card.egg-info/SOURCES.txt b/cubicweb/server/test/data/cubicweb_card.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_card.egg-info/SOURCES.txt
@@ -0,0 +1,10 @@
+setup.py
+cubicweb_card/__init__.py
+cubicweb_card/__pkginfo__.py
+cubicweb_card/schema.py
+cubicweb_card.egg-info/PKG-INFO
+cubicweb_card.egg-info/SOURCES.txt
+cubicweb_card.egg-info/dependency_links.txt
+cubicweb_card.egg-info/entry_points.txt
+cubicweb_card.egg-info/not-zip-safe
+cubicweb_card.egg-info/top_level.txt
\ No newline at end of file
diff --git a/cubicweb/server/test/data/cubicweb_card.egg-info/dependency_links.txt b/cubicweb/server/test/data/cubicweb_card.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_card.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_card.egg-info/entry_points.txt b/cubicweb/server/test/data/cubicweb_card.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_card.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+card = cubicweb_card
+
diff --git a/cubicweb/server/test/data/cubicweb_card.egg-info/not-zip-safe b/cubicweb/server/test/data/cubicweb_card.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_card.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_card.egg-info/top_level.txt b/cubicweb/server/test/data/cubicweb_card.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_card.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_card
diff --git a/cubicweb/server/test/data/cubicweb_comment.egg-info/PKG-INFO b/cubicweb/server/test/data/cubicweb_comment.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_comment.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-comment
+Version: 1.2.3
+Summary: Comment component
+Home-page: http://www.cubicweb.org/project/comment
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data/cubicweb_comment.egg-info/SOURCES.txt b/cubicweb/server/test/data/cubicweb_comment.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_comment.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_comment/__init__.py
+cubicweb_comment/__pkginfo__.py
+cubicweb_comment/schema.py
+cubicweb_comment.egg-info/PKG-INFO
+cubicweb_comment.egg-info/SOURCES.txt
+cubicweb_comment.egg-info/dependency_links.txt
+cubicweb_comment.egg-info/entry_points.txt
+cubicweb_comment.egg-info/not-zip-safe
+cubicweb_comment.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data/cubicweb_comment.egg-info/dependency_links.txt b/cubicweb/server/test/data/cubicweb_comment.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_comment.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_comment.egg-info/entry_points.txt b/cubicweb/server/test/data/cubicweb_comment.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_comment.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+comment = cubicweb_comment
+
diff --git a/cubicweb/server/test/data/cubicweb_comment.egg-info/not-zip-safe b/cubicweb/server/test/data/cubicweb_comment.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_comment.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_comment.egg-info/top_level.txt b/cubicweb/server/test/data/cubicweb_comment.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_comment.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_comment
diff --git a/cubicweb/server/test/data/cubicweb_file.egg-info/PKG-INFO b/cubicweb/server/test/data/cubicweb_file.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_file.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-file
+Version: 1.2.3
+Summary: File component
+Home-page: http://www.cubicweb.org/project/file
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data/cubicweb_file.egg-info/SOURCES.txt b/cubicweb/server/test/data/cubicweb_file.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_file.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_file/__init__.py
+cubicweb_file/__pkginfo__.py
+cubicweb_file/schema.py
+cubicweb_file.egg-info/PKG-INFO
+cubicweb_file.egg-info/SOURCES.txt
+cubicweb_file.egg-info/dependency_links.txt
+cubicweb_file.egg-info/entry_points.txt
+cubicweb_file.egg-info/not-zip-safe
+cubicweb_file.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data/cubicweb_file.egg-info/dependency_links.txt b/cubicweb/server/test/data/cubicweb_file.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_file.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_file.egg-info/entry_points.txt b/cubicweb/server/test/data/cubicweb_file.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_file.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+file = cubicweb_file
+
diff --git a/cubicweb/server/test/data/cubicweb_file.egg-info/not-zip-safe b/cubicweb/server/test/data/cubicweb_file.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_file.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_file.egg-info/top_level.txt b/cubicweb/server/test/data/cubicweb_file.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_file.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_file
diff --git a/cubicweb/server/test/data/cubicweb_localperms.egg-info/PKG-INFO b/cubicweb/server/test/data/cubicweb_localperms.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_localperms.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-localperms
+Version: 1.2.3
+Summary: Localperms component
+Home-page: http://www.cubicweb.org/project/localperms
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data/cubicweb_localperms.egg-info/SOURCES.txt b/cubicweb/server/test/data/cubicweb_localperms.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_localperms.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_localperms/__init__.py
+cubicweb_localperms/__pkginfo__.py
+cubicweb_localperms/schema.py
+cubicweb_localperms.egg-info/PKG-INFO
+cubicweb_localperms.egg-info/SOURCES.txt
+cubicweb_localperms.egg-info/dependency_links.txt
+cubicweb_localperms.egg-info/entry_points.txt
+cubicweb_localperms.egg-info/not-zip-safe
+cubicweb_localperms.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data/cubicweb_localperms.egg-info/dependency_links.txt b/cubicweb/server/test/data/cubicweb_localperms.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_localperms.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_localperms.egg-info/entry_points.txt b/cubicweb/server/test/data/cubicweb_localperms.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_localperms.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+localperms = cubicweb_localperms
+
diff --git a/cubicweb/server/test/data/cubicweb_localperms.egg-info/not-zip-safe b/cubicweb/server/test/data/cubicweb_localperms.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_localperms.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_localperms.egg-info/top_level.txt b/cubicweb/server/test/data/cubicweb_localperms.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_localperms.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_localperms
diff --git a/cubicweb/server/test/data/cubicweb_tag.egg-info/PKG-INFO b/cubicweb/server/test/data/cubicweb_tag.egg-info/PKG-INFO
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_tag.egg-info/PKG-INFO
@@ -0,0 +1,14 @@
+Metadata-Version: 1.1
+Name: cubicweb-tag
+Version: 1.2.3
+Summary: Tag component
+Home-page: http://www.cubicweb.org/project/tag
+Author: Logilab
+Author-email: contact at logilab.fr
+License: LGPL3
+Description: Long description
+Platform: UNKNOWN
+Classifier: Environment :: Web Environment
+Classifier: Framework :: CubicWeb
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: JavaScript
diff --git a/cubicweb/server/test/data/cubicweb_tag.egg-info/SOURCES.txt b/cubicweb/server/test/data/cubicweb_tag.egg-info/SOURCES.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_tag.egg-info/SOURCES.txt
@@ -0,0 +1,9 @@
+cubicweb_tag/__init__.py
+cubicweb_tag/__pkginfo__.py
+cubicweb_tag/schema.py
+cubicweb_tag.egg-info/PKG-INFO
+cubicweb_tag.egg-info/SOURCES.txt
+cubicweb_tag.egg-info/dependency_links.txt
+cubicweb_tag.egg-info/entry_points.txt
+cubicweb_tag.egg-info/not-zip-safe
+cubicweb_tag.egg-info/top_level.txt
diff --git a/cubicweb/server/test/data/cubicweb_tag.egg-info/dependency_links.txt b/cubicweb/server/test/data/cubicweb_tag.egg-info/dependency_links.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_tag.egg-info/dependency_links.txt
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_tag.egg-info/entry_points.txt b/cubicweb/server/test/data/cubicweb_tag.egg-info/entry_points.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_tag.egg-info/entry_points.txt
@@ -0,0 +1,3 @@
+[cubicweb.cubes]
+tag = cubicweb_tag
+
diff --git a/cubicweb/server/test/data/cubicweb_tag.egg-info/not-zip-safe b/cubicweb/server/test/data/cubicweb_tag.egg-info/not-zip-safe
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_tag.egg-info/not-zip-safe
@@ -0,0 +1,1 @@
+
diff --git a/cubicweb/server/test/data/cubicweb_tag.egg-info/top_level.txt b/cubicweb/server/test/data/cubicweb_tag.egg-info/top_level.txt
new file mode 100644
--- /dev/null
+++ b/cubicweb/server/test/data/cubicweb_tag.egg-info/top_level.txt
@@ -0,0 +1,1 @@
+cubicweb_tag




More information about the cubicweb-devel mailing list