[Checkins] SVN: zopyx.smartprintng.server/branches/bfg/se switching to bfg

Andreas Jung andreas at andreas-jung.com
Mon Jul 6 12:27:56 EDT 2009


Log message for revision 101635:
  switching to bfg
  

Changed:
  A   zopyx.smartprintng.server/branches/bfg/server.ini
  U   zopyx.smartprintng.server/branches/bfg/setup.py

-=-
Added: zopyx.smartprintng.server/branches/bfg/server.ini
===================================================================
--- zopyx.smartprintng.server/branches/bfg/server.ini	                        (rev 0)
+++ zopyx.smartprintng.server/branches/bfg/server.ini	2009-07-06 16:27:56 UTC (rev 101635)
@@ -0,0 +1,13 @@
+[DEFAULT]
+debug = true
+
+[app:main]
+use = egg:zopyx.smartprintng.server#app
+reload_templates = true
+debug_authorization = false
+debug_notfound = false
+
+[server:main]
+use = egg:Paste#http
+host = 0.0.0.0
+port = 6543

Modified: zopyx.smartprintng.server/branches/bfg/setup.py
===================================================================
--- zopyx.smartprintng.server/branches/bfg/setup.py	2009-07-06 16:24:51 UTC (rev 101634)
+++ zopyx.smartprintng.server/branches/bfg/setup.py	2009-07-06 16:27:56 UTC (rev 101635)
@@ -24,12 +24,13 @@
       zip_safe=False,
       install_requires=[
           'setuptools',
-          'twisted',
+          'repoze.bfg',
           'uuid',
           'zopyx.convert2',
           # -*- Extra requirements: -*-
       ],
-      entry_points=dict(
-          console_scripts=['smartprintng_server_twisted=zopyx.smartprintng.server.twisted_srv:main']
+      entry_points="""\
+      [paste.app_factory]
+      app = zopyx.smartprintng.server.run:app
+      """
       )
-      )



More information about the Checkins mailing list