Permalink
Browse files

add . to py script

  • Loading branch information...
1 parent f4ab229 commit 92363e996d9caba271c610c2bd58194e220db723 @fafhrd91 fafhrd91 committed Oct 11, 2011
Showing with 6 additions and 1 deletion.
  1. +1 −0 base.cfg
  2. +1 −0 devel.cfg
  3. +2 −0 start2.py
  4. +2 −1 start3.py
View
@@ -33,6 +33,7 @@ entry-point = paster=paste.script.command:run
[py]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
+extra-paths = .
interpreter = py
scripts = py
View
@@ -32,6 +32,7 @@ location = ${buildout:directory}/source
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
ipython
+extra-paths = .
entry-points = ipython=IPython.frontend.terminal.ipapp:launch_new_instance
initialization = from memphis import config
config.initialize()
View
@@ -36,5 +36,7 @@ def list_children(context, request):
$resource_url/show_info on either folder or content.
"""
import ptah
+ import start3
+
app = ptah.make_wsgi_app({'settings':r'./ptah.ini'})
serve(app, host='0.0.0.0')
View
@@ -2,7 +2,6 @@
import ptah
from memphis import view
from paste.httpserver import serve
-from pyramid.config import Configurator
# login name is a ptah.uri.Uri which means its prefixed with a scheme.
# this is login, bobdobbs whose prefix is user+example.
@@ -61,6 +60,8 @@ def getPrincipal(uri):
http://localhost:8080/list_children is traverser on context
$resource_url/show_info on either folder or content.
"""
+ from pyramid.config import Configurator
+
config = Configurator(settings={'settings':r'./ptah.ini'})
config.include('ptah')
config.ptah_init()

0 comments on commit 92363e9

Please sign in to comment.