moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/PKG-INFO | 10 +
moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/SOURCES.txt | 72 ++++++++++
moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/dependency_links.txt | 1
moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/entry_points.txt | 24 +++
moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/paster_plugins.txt | 4
moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/requires.txt | 7
moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/top_level.txt | 1
moksha/lib/helpers.py | 6
moksha/tests/quickstarts/base.py | 6
moksha/tests/quickstarts/test_tg2.py | 3
moksha/tests/quickstarts/tg2app/tg2app.egg-info/PKG-INFO | 10 +
moksha/tests/quickstarts/tg2app/tg2app.egg-info/SOURCES.txt | 69 +++++++++
moksha/tests/quickstarts/tg2app/tg2app.egg-info/dependency_links.txt | 1
moksha/tests/quickstarts/tg2app/tg2app.egg-info/entry_points.txt | 14 +
moksha/tests/quickstarts/tg2app/tg2app.egg-info/paster_plugins.txt | 4
moksha/tests/quickstarts/tg2app/tg2app.egg-info/requires.txt | 7
moksha/tests/quickstarts/tg2app/tg2app.egg-info/top_level.txt | 1
17 files changed, 237 insertions(+), 3 deletions(-)
New commits:
commit 6ba838f44140231c9173f7f2419efe7b96a75c08
Author: Luke Macken <lmacken(a)redhat.com>
Date: Sat Oct 10 18:41:21 2009 -0400
Properly grab our development config when running our test suite
diff --git a/moksha/tests/quickstarts/base.py b/moksha/tests/quickstarts/base.py
index 0589127..2629e6b 100644
--- a/moksha/tests/quickstarts/base.py
+++ b/moksha/tests/quickstarts/base.py
@@ -7,6 +7,8 @@ from webtest import TestApp
from paste.deploy import loadapp
from paste.script.create_distro import CreateDistroCommand
+from moksha.lib.helpers import get_moksha_dev_config
+
testDataPath = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'data')
class Options(object):
@@ -54,8 +56,8 @@ def setup_quickstart(template, templates, template_vars, args):
pkg_resources.working_set.add_entry(proj_dir)
reload(pkg_resources)
- app = loadapp('config:/srv/moksha/development.ini',
- relative_to=proj_dir)
+ app = loadapp('config:%s' % get_moksha_dev_config(),
+ relative_to=proj_dir)
return TestApp(app)
def teardown_quickstart():
diff --git a/moksha/tests/quickstarts/test_tg2.py b/moksha/tests/quickstarts/test_tg2.py
index 832efbd..7288b6b 100644
--- a/moksha/tests/quickstarts/test_tg2.py
+++ b/moksha/tests/quickstarts/test_tg2.py
@@ -3,13 +3,14 @@ import pkg_resources
from webtest import TestApp
from paste.deploy import loadapp
+from moksha.lib.helpers import get_moksha_dev_config
class TestTG2AppInMoksha(object):
def setUp(self):
tg2app_path = os.path.join(os.path.dirname(__file__), 'tg2app')
pkg_resources.working_set.add_entry(tg2app_path)
- self.app = loadapp('config:/srv/moksha/development.ini',
+ self.app = loadapp('config:%s' % get_moksha_dev_config(),
relative_to=tg2app_path)
self.app = TestApp(self.app)
commit 29efc16ecfed8629981fff34791a0597161c4813
Author: Luke Macken <lmacken(a)redhat.com>
Date: Sat Oct 10 18:41:00 2009 -0400
Add a moksha.lib.helpers.get_moksha_dev_config method
diff --git a/moksha/lib/helpers.py b/moksha/lib/helpers.py
index 9345d65..45aa72b 100644
--- a/moksha/lib/helpers.py
+++ b/moksha/lib/helpers.py
@@ -790,6 +790,12 @@ def get_moksha_config_path():
return None
# raise MokshaConfigNotFound('Cannot find moksha configuration file!')
+def get_moksha_dev_config():
+ cfg = os.path.join(os.path.abspath(__file__ + '/../../../'), 'development.ini')
+ if os.path.isfile(cfg):
+ return cfg
+ log.warn("Cannot find %r" % cfg)
+
def to_unicode(obj, encoding='utf-8'):
if isinstance(obj, basestring):
commit 7d28ff47e2b82fffde10f3fb421a1c00aec51746
Author: Luke Macken <lmacken(a)redhat.com>
Date: Sat Oct 10 18:40:30 2009 -0400
Add some more egg info to get our test suite running out of the box
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/PKG-INFO b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/PKG-INFO
new file mode 100644
index 0000000..c879e0a
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/PKG-INFO
@@ -0,0 +1,10 @@
+Metadata-Version: 1.0
+Name: JQPlotDemo
+Version: 0.2dev
+Summary: UNKNOWN
+Home-page: UNKNOWN
+Author: Ralph Bean, Luke Macken
+Author-email: UNKNOWN
+License: UNKNOWN
+Description: UNKNOWN
+Platform: UNKNOWN
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/SOURCES.txt b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/SOURCES.txt
new file mode 100644
index 0000000..062a07b
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/SOURCES.txt
@@ -0,0 +1,72 @@
+MANIFEST.in
+README.txt
+setup.cfg
+setup.py
+JQPlotDemo.egg-info/PKG-INFO
+JQPlotDemo.egg-info/SOURCES.txt
+JQPlotDemo.egg-info/dependency_links.txt
+JQPlotDemo.egg-info/entry_points.txt
+JQPlotDemo.egg-info/paster_plugins.txt
+JQPlotDemo.egg-info/requires.txt
+JQPlotDemo.egg-info/top_level.txt
+jqplotdemo/__init__.py
+jqplotdemo/js.py
+jqplotdemo/streams.py
+jqplotdemo/websetup.py
+jqplotdemo/widgets.py
+jqplotdemo/wsgi.py
+jqplotdemo/config/__init__.py
+jqplotdemo/config/app_cfg.py
+jqplotdemo/config/environment.py
+jqplotdemo/config/middleware.py
+jqplotdemo/controllers/__init__.py
+jqplotdemo/controllers/error.py
+jqplotdemo/controllers/plots.py
+jqplotdemo/controllers/root.py
+jqplotdemo/controllers/secure.py
+jqplotdemo/controllers/template.py
+jqplotdemo/lib/__init__.py
+jqplotdemo/lib/app_globals.py
+jqplotdemo/lib/base.py
+jqplotdemo/lib/helpers.py
+jqplotdemo/model/__init__.py
+jqplotdemo/model/auth.py
+jqplotdemo/public/favicon.ico
+jqplotdemo/public/css/style.css
+jqplotdemo/public/images/contentbg.png
+jqplotdemo/public/images/error.png
+jqplotdemo/public/images/header_inner2.png
+jqplotdemo/public/images/headerbg.png
+jqplotdemo/public/images/info.png
+jqplotdemo/public/images/inputbg.png
+jqplotdemo/public/images/loginbg.png
+jqplotdemo/public/images/loginbottombg.png
+jqplotdemo/public/images/loginheader-left.png
+jqplotdemo/public/images/loginheader-right.png
+jqplotdemo/public/images/menu-item-actibg-first.png
+jqplotdemo/public/images/menu-item-actibg.png
+jqplotdemo/public/images/menu-item-border.png
+jqplotdemo/public/images/menubg.png
+jqplotdemo/public/images/ok.png
+jqplotdemo/public/images/pagebg.png
+jqplotdemo/public/images/star.png
+jqplotdemo/public/images/strype2.png
+jqplotdemo/public/images/under_the_hood_blue.png
+jqplotdemo/public/images/warning.png
+jqplotdemo/templates/__init__.py
+jqplotdemo/templates/about.html
+jqplotdemo/templates/authentication.html
+jqplotdemo/templates/debug.html
+jqplotdemo/templates/error.html
+jqplotdemo/templates/footer.html
+jqplotdemo/templates/header.html
+jqplotdemo/templates/index.html
+jqplotdemo/templates/login.html
+jqplotdemo/templates/master.html
+jqplotdemo/templates/sidebars.html
+jqplotdemo/tests/__init__.py
+jqplotdemo/tests/functional/__init__.py
+jqplotdemo/tests/functional/test_authentication.py
+jqplotdemo/tests/functional/test_root.py
+jqplotdemo/tests/models/__init__.py
+jqplotdemo/tests/models/test_auth.py
\ No newline at end of file
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/dependency_links.txt b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/entry_points.txt b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/entry_points.txt
new file mode 100644
index 0000000..bdda817
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/entry_points.txt
@@ -0,0 +1,24 @@
+
+ [paste.app_factory]
+ main = jqplotdemo.config.middleware:make_app
+
+ [paste.app_install]
+ main = pylons.util:PylonsInstaller
+
+ [moksha.stream]
+ jqplot_stream = jqplotdemo.streams:JQPlotDemoStream
+
+ # We only enable this when running this app *in* Moksha.
+ # If we're running this app stand-alone, then we must have
+ # the MokshaMiddleware attached.
+ #[moksha.wsgiapp]
+ #jqplotdemo = jqplotdemo.wsgi:application
+
+ [moksha.global]
+ moksha_socket = moksha.api.widgets:moksha_socket
+
+ [moksha.widget]
+ jqplot_pie_widget = jqplotdemo.widgets:pie_widget
+ jqplot_plot_widget = jqplotdemo.widgets:plot_widget
+
+
\ No newline at end of file
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/paster_plugins.txt b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/paster_plugins.txt
new file mode 100644
index 0000000..ab508e5
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/paster_plugins.txt
@@ -0,0 +1,4 @@
+PasteScript
+Pylons
+TurboGears2
+tg.devtools
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/requires.txt b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/requires.txt
new file mode 100644
index 0000000..b5b4d90
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/requires.txt
@@ -0,0 +1,7 @@
+TurboGears2 >= 2.0b7
+Catwalk >= 2.0.2
+Babel >=0.9.4
+ToscaWidgets>=0.9.8dev
+zope.sqlalchemy >= 0.4
+repoze.tm2 >= 1.0a4
+tw.jquery>=0.9.8dev
\ No newline at end of file
diff --git a/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/top_level.txt b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/top_level.txt
new file mode 100644
index 0000000..162ef1f
--- /dev/null
+++ b/moksha/apps/demo/MokshaJQPlotDemo/JQPlotDemo.egg-info/top_level.txt
@@ -0,0 +1 @@
+jqplotdemo
commit 3246bd70171ac94b381755f9e99684af41a2b595
Author: Luke Macken <lmacken(a)redhat.com>
Date: Sat Oct 10 18:26:33 2009 -0400
add some egg info used bt our test suite
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/PKG-INFO b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/PKG-INFO
new file mode 100644
index 0000000..527f9ad
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/PKG-INFO
@@ -0,0 +1,10 @@
+Metadata-Version: 1.0
+Name: tg2app
+Version: 0.1dev
+Summary: UNKNOWN
+Home-page: UNKNOWN
+Author: UNKNOWN
+Author-email: UNKNOWN
+License: UNKNOWN
+Description: UNKNOWN
+Platform: UNKNOWN
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/SOURCES.txt b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/SOURCES.txt
new file mode 100644
index 0000000..59c2718
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/SOURCES.txt
@@ -0,0 +1,69 @@
+MANIFEST.in
+README.txt
+setup.cfg
+setup.py
+tg2app/__init__.py
+tg2app/websetup.py
+tg2app/wsgi.py
+tg2app.egg-info/PKG-INFO
+tg2app.egg-info/SOURCES.txt
+tg2app.egg-info/dependency_links.txt
+tg2app.egg-info/entry_points.txt
+tg2app.egg-info/paster_plugins.txt
+tg2app.egg-info/requires.txt
+tg2app.egg-info/top_level.txt
+tg2app/config/__init__.py
+tg2app/config/app_cfg.py
+tg2app/config/environment.py
+tg2app/config/middleware.py
+tg2app/controllers/__init__.py
+tg2app/controllers/error.py
+tg2app/controllers/root.py
+tg2app/controllers/secure.py
+tg2app/controllers/template.py
+tg2app/i18n/ru/LC_MESSAGES/tg2app.po
+tg2app/lib/__init__.py
+tg2app/lib/app_globals.py
+tg2app/lib/base.py
+tg2app/lib/helpers.py
+tg2app/model/__init__.py
+tg2app/model/auth.py
+tg2app/public/favicon.ico
+tg2app/public/css/style.css
+tg2app/public/images/contentbg.png
+tg2app/public/images/error.png
+tg2app/public/images/header_inner2.png
+tg2app/public/images/headerbg.png
+tg2app/public/images/info.png
+tg2app/public/images/inputbg.png
+tg2app/public/images/loginbg.png
+tg2app/public/images/loginbottombg.png
+tg2app/public/images/loginheader-left.png
+tg2app/public/images/loginheader-right.png
+tg2app/public/images/menu-item-actibg-first.png
+tg2app/public/images/menu-item-actibg.png
+tg2app/public/images/menu-item-border.png
+tg2app/public/images/menubg.png
+tg2app/public/images/ok.png
+tg2app/public/images/pagebg.png
+tg2app/public/images/star.png
+tg2app/public/images/strype2.png
+tg2app/public/images/under_the_hood_blue.png
+tg2app/public/images/warning.png
+tg2app/templates/__init__.py
+tg2app/templates/about.html
+tg2app/templates/authentication.html
+tg2app/templates/debug.html
+tg2app/templates/error.html
+tg2app/templates/footer.html
+tg2app/templates/header.html
+tg2app/templates/index.html
+tg2app/templates/login.html
+tg2app/templates/master.html
+tg2app/templates/sidebars.html
+tg2app/tests/__init__.py
+tg2app/tests/functional/__init__.py
+tg2app/tests/functional/test_authentication.py
+tg2app/tests/functional/test_root.py
+tg2app/tests/models/__init__.py
+tg2app/tests/models/test_auth.py
\ No newline at end of file
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/dependency_links.txt b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/entry_points.txt b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/entry_points.txt
new file mode 100644
index 0000000..bd4d865
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/entry_points.txt
@@ -0,0 +1,14 @@
+
+ [paste.app_factory]
+ main = tg2app.config.middleware:make_app
+
+ [paste.app_install]
+ main = pylons.util:PylonsInstaller
+
+ [moksha.application]
+ tg2app = tg2app.controllers.root:RootController
+
+ [moksha.wsgiapp]
+ tg2wsgi = tg2app.wsgi:application
+
+
\ No newline at end of file
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/paster_plugins.txt b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/paster_plugins.txt
new file mode 100644
index 0000000..ab508e5
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/paster_plugins.txt
@@ -0,0 +1,4 @@
+PasteScript
+Pylons
+TurboGears2
+tg.devtools
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/requires.txt b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/requires.txt
new file mode 100644
index 0000000..ad4a852
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/requires.txt
@@ -0,0 +1,7 @@
+TurboGears2 >= 2.0b7
+Catwalk >= 2.0.2
+Babel >=0.9.4
+toscawidgets >= 0.9.7.1
+zope.sqlalchemy >= 0.4
+repoze.tm2 >= 1.0a4
+repoze.what-quickstart >= 1.0
\ No newline at end of file
diff --git a/moksha/tests/quickstarts/tg2app/tg2app.egg-info/top_level.txt b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/top_level.txt
new file mode 100644
index 0000000..22e5fca
--- /dev/null
+++ b/moksha/tests/quickstarts/tg2app/tg2app.egg-info/top_level.txt
@@ -0,0 +1 @@
+tg2app