|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Missing scripts inside ZODB3==3.7.xHi,
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 _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Missing scripts inside ZODB3==3.7.xkiorky wrote:
> diff -ur --exclude=.svn 3.7.orig/setup.py 3.8/setup.py |grep script FWIW, the "|grep script" part trimmed too much and made the patch unreadable. Shane _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Missing scripts inside ZODB3==3.7.xHi Shane,
you have both in the mail, a diff attached (the patch), and a shell command at the bottom ... The shell snippet was there only to spot the missing script entries. For convenience i'm attaching only the patch now. Shane Hathaway a écrit : > kiorky wrote: >> diff -ur --exclude=.svn 3.7.orig/setup.py 3.8/setup.py |grep script > > FWIW, the "|grep script" part trimmed too much and made the patch > unreadable. > > Shane > -- -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF Index: 3.7/setup.py =================================================================== --- setup.py (révision 104538) +++ 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 _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Missing scripts inside ZODB3==3.7.xAny status on this issue ?
Shane Hathaway a écrit : > kiorky wrote: >> diff -ur --exclude=.svn 3.7.orig/setup.py 3.8/setup.py |grep script > > FWIW, the "|grep script" part trimmed too much and made the patch > unreadable. > > Shane > -- -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Missing scripts inside ZODB3==3.7.xkiorky wrote:
> Any status on this issue ? If your goal is to use RelStorage, it is not clear why you need the scripts in ZODB.scripts. If you need zodbconvert, RelStorage currently provides that. Shane _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
|
|
|
Re: Missing scripts inside ZODB3==3.7.xkiorky wrote:
> I need repozo and all scripts to be generated, no matter that i use relstorage > or not. > When i install the ZODB egg, i want its maintenance scripts too. > Out of the scope of relstorage, it's a 3.7 packaging isssue as the scripts arent > there but they must be. Well, it's not clear that 3.7.x is being maintained anymore. All of the 3.7 releases on PyPI are hidden. FWIW, ZODB 3.8 works fine with current releases of Plone. 3.9 doesn't yet. Shane _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
|
|
Re: Missing scripts inside ZODB3==3.7.xHa, i'll try to BUMP to 3.8 so.
Shane Hathaway a écrit : > kiorky wrote: >> I need repozo and all scripts to be generated, no matter that i use >> relstorage >> or not. >> When i install the ZODB egg, i want its maintenance scripts too. >> Out of the scope of relstorage, it's a 3.7 packaging isssue as the >> scripts arent >> there but they must be. > > Well, it's not clear that 3.7.x is being maintained anymore. All of the > 3.7 releases on PyPI are hidden. > > FWIW, ZODB 3.8 works fine with current releases of Plone. 3.9 doesn't yet. > > Shane > -- Cordialement, KiOrKY GPG Key FingerPrint: 0x1A1194B7681112AF _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@... https://mail.zope.org/mailman/listinfo/zodb-dev |
| Free embeddable forum powered by Nabble | Forum Help |