Hi,

As far as my experimentations towards RelStorage with plone, i have as idea to
use ZODB3 as an rather that the code from the Zope2 release tarball.

Thus, i installed the ZODB3==3.7.2 distribution from pypi, but unfortunatly, the
ZODB.scripts package is missing after easy_install work as well as others 
packages.

A rapid diff [1] with the 3.8 branch spots quickly the errors and leads me to a
trivial fix (patch attached).

I have commit access to the repository, but i ll wait for approval before
commiting. It would be good to release it too.


[1]

diff -ur --exclude=.svn  3.7.orig/setup.py 3.8/setup.py |grep script
         scripts = ["src/ZODB/scripts/fsdump.py",
                    "src/ZODB/scripts/fstail.py",
                    "src/ZODB/scripts/fstest.py",
                    "src/ZODB/scripts/repozo.py",
+                   "src/ZODB/scripts/strip_versions.py",
                    "src/ZEO/scripts/zeopack.py",
                    "src/ZEO/scripts/runzeo.py",
                    "src/ZEO/scripts/zeopasswd.py",
     fsrefs = ZODB.scripts.fsrefs:main
     fstail = ZODB.scripts.fstail:Main
     repozo = ZODB.scripts.repozo:main
+    strip_versions =  ZODB.scripts.strip_versions:main
     zeopack = ZEO.scripts.zeopack:main
     scripts = []
+            "ZEO", "ZEO.auth", "ZEO.zrpc", "ZEO.tests", "ZEO.scripts",
+                    "ZODB.scripts",
+        "ZEO/scripts",
+        "ZODB/scripts",
-      description = doclines[0],
+      description = __doc__.split("\n")[0],
-      long_description = "\n".join(doclines[2:]),
+      long_description = (


-- 
--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF

Index: 3.7/setup.py
===================================================================
--- 3.7/setup.py        (révision 104538)
+++ 3.7/setup.py        (copie de travail)
@@ -174,8 +174,9 @@
 # need to convert early versions of Zope3 databases to ZODB3.
 
 packages = ["BTrees", "BTrees.tests",
-            "ZEO", "ZEO.auth", "ZEO.zrpc", "ZEO.tests",
+            "ZEO", "ZEO.auth", "ZEO.zrpc", "ZEO.tests", "ZEO.scripts",
             "ZODB", "ZODB.FileStorage", "ZODB.tests",
+                    "ZODB.scripts",
             "persistent", "persistent.tests",
             "transaction", "transaction.tests",
             "ThreadedAsync",
@@ -187,12 +188,18 @@
     # into a package just like .py files.
     extensions = ["*.conf", "*.xml", "*.txt", "*.sh", "*.txt"]
     directories = [
+        "BTrees",
         "transaction",
         "transaction/tests",
         "persistent/tests",
         "ZEO",
+        "ZEO/scripts",
+        "ZEO/tests",
         "ZODB",
+        "ZODB/scripts",
         "ZODB/tests",
+        "ZODB/Blobs",
+        "ZODB/Blobs/tests",
         ]
     for dir in directories:
         exts = extensions

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to