[Erp5-report] r45822 luke - in /erp5/trunk/utils/Products.TIDStorage: ./ Products/TIDStorag...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 4 14:28:29 CEST 2011
Author: luke
Date: Wed May 4 14:28:28 2011
New Revision: 45822
URL: http://svn.erp5.org?rev=45822&view=rev
Log:
Use relative import in tool and define entry points for tidstorage server and
repozo wrapper.
Modified:
erp5/trunk/utils/Products.TIDStorage/Products/TIDStorage/bin/tidstorage.py
erp5/trunk/utils/Products.TIDStorage/setup.py
Modified: erp5/trunk/utils/Products.TIDStorage/Products/TIDStorage/bin/tidstorage.py
URL: http://svn.erp5.org/erp5/trunk/utils/Products.TIDStorage/Products/TIDStorage/bin/tidstorage.py?rev=45822&r1=45821&r2=45822&view=diff
==============================================================================
--- erp5/trunk/utils/Products.TIDStorage/Products/TIDStorage/bin/tidstorage.py [utf8] (original)
+++ erp5/trunk/utils/Products.TIDStorage/Products/TIDStorage/bin/tidstorage.py [utf8] Wed May 4 14:28:28 2011
@@ -90,7 +90,7 @@ import getopt
import SocketServer
import threading
import traceback
-from ExchangeProtocol import ClientDisconnected, ExchangeProtocol
+from ..ExchangeProtocol import ClientDisconnected, ExchangeProtocol
class TransactionException(Exception):
pass
Modified: erp5/trunk/utils/Products.TIDStorage/setup.py
URL: http://svn.erp5.org/erp5/trunk/utils/Products.TIDStorage/setup.py?rev=45822&r1=45821&r2=45822&view=diff
==============================================================================
--- erp5/trunk/utils/Products.TIDStorage/setup.py [utf8] (original)
+++ erp5/trunk/utils/Products.TIDStorage/setup.py [utf8] Wed May 4 14:28:28 2011
@@ -28,4 +28,10 @@ setup(name='Products.TIDStorage',
'setuptools',
'Zope2',
],
+ entry_points={
+ 'console_scripts': [
+ 'tidstoraged = Products.TIDStorage.bin.tidstorage:__main__',
+ 'tidstorage_repozo = Products.TIDStorage.repozo.repozo_tidstorage:main',
+ ]
+ }
)
More information about the Erp5-report
mailing list