made syncserver a script to avoid entry_points confusion (it excpects a pkg)
authorTarek Ziade <tarek@ziade.org>
Fri, 10 Sep 2010 13:21:32 +0200
changeset 362 bf1bc3e43469f92e05a24a0f674192dd8124f97d
parent 361 7dd310dededa23906b15354fc79998d66a11914f
child 363 e2fdf785078283473961eddc65f7536a4d4248a0
push id1
push usertziade@mozilla.com
push dateTue, 19 Oct 2010 10:41:37 +0000
made syncserver a script to avoid entry_points confusion (it excpects a pkg)
.hgsubstate
setup.py
syncserver.py
syncserver/__init__.py
new file mode 100644
--- /dev/null
+++ b/.hgsubstate
@@ -0,0 +1,3 @@
+a743cb3ec03e2c4f8c8623e92da7dd8ff2b9da1b sync-core
+d934706dd4c7361dd353b9334a707b11fdbb50ad sync-reg
+84fcff9fb0364774aee770bd65d12a633f0c4a77 sync-storage
--- a/setup.py
+++ b/setup.py
@@ -40,10 +40,10 @@ install_requires = ['SyncStorage', 'Sync
 entry_points = """
 [paste.app_factory]
 main = syncserver:make_app
 
 [paste.app_install]
 main = paste.script.appinstall:Installer
 """
 
-setup(name='SyncServer', version=0.1, py_modules=['syncserver.py'],
+setup(name='SyncServer', version=0.1, packages=['syncserver'],
       install_requires=install_requires, entry_points=entry_points)
rename from syncserver.py
rename to syncserver/__init__.py