Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Created the examples/misc and moved some examples to this new directory

  • Loading branch information...
commit 9f5e27547b8875cc874f3412faf96d18894e03bf 1 parent f63ba48
keesbos keesbos authored
Showing with 68 additions and 124 deletions.
  1. +11 −0 examples/README
  2. +2 −0  examples/__main__.py
  3. +7 −0 examples/_examples/util.py
  4. +6 −0 examples/deprecated/README
  5. +0 −102 examples/index.html
  6. +3 −0  examples/misc/README
  7. 0  examples/{ → misc}/djangotasks/AUTHORS
  8. 0  examples/{ → misc}/djangotasks/README
  9. 0  examples/{swfupload → misc/djangotasks}/__init__.py
  10. +5 −3 examples/{ → misc}/djangotasks/__main__.py
  11. 0  examples/{ → misc}/djangotasks/manage.py
  12. 0  examples/{ → misc}/djangotasks/media/TodoApp.html
  13. 0  examples/{ → misc}/djangotasks/media/TodoApp.py
  14. 0  examples/{ → misc}/djangotasks/media/build.sh
  15. 0  examples/{ → misc}/djangotasks/settings.py
  16. 0  examples/{gaedjangononrelpuremvcblog/post → misc/djangotasks/todo}/__init__.py
  17. 0  examples/{ → misc}/djangotasks/todo/models.py
  18. 0  examples/{ → misc}/djangotasks/todo/views.py
  19. 0  examples/{ → misc}/djangotasks/urls.py
  20. 0  examples/{gaedjangononrelpuremvcblog → misc/djangowanted}/__init__.py
  21. +7 −4 examples/{ → misc}/djangowanted/__main__.py
  22. 0  examples/{ → misc}/djangowanted/djangowanted.wsgi
  23. 0  examples/{ → misc}/djangowanted/djangowantedforms.wsgi
  24. 0  examples/{ → misc}/djangowanted/djangowantedindex.wsgi
  25. 0  examples/{ → misc}/djangowanted/localmanage.py
  26. 0  examples/{ → misc}/djangowanted/localsettings.py
  27. 0  examples/{ → misc}/djangowanted/localurls.py
  28. 0  examples/{djangoweb → misc/djangowanted}/manage.py
  29. 0  examples/{djangoweb → misc/djangowanted}/media/HTMLDialog.py
  30. 0  examples/{ → misc}/djangowanted/media/HTMLLinkPanel.py
  31. 0  examples/{djangoweb → misc/djangowanted}/media/Popups.py
  32. 0  examples/{ → misc}/djangowanted/media/WebPage.py
  33. 0  examples/{ → misc}/djangowanted/media/WebPageEdit.py
  34. 0  examples/{djangoweb → misc/djangowanted}/media/build.sh
  35. 0  examples/{djangoweb → misc/djangowanted}/media/public/WebPage.css
  36. 0  examples/{djangoweb → misc/djangowanted}/media/public/fckconfig.js
  37. 0  examples/{djangoweb → misc/djangowanted}/media/public/index.html
  38. 0  examples/{ → misc}/djangowanted/media/public/pyjdblank.html
  39. 0  examples/{ → misc}/djangowanted/settings.py
  40. 0  examples/{djangoweb → misc/djangowanted}/templates/index.html
  41. 0  examples/{ → misc}/djangowanted/test_add_flagtypes.sh
  42. 0  examples/{ → misc}/djangowanted/test_forms.sh
  43. 0  examples/{ → misc}/djangowanted/testjsonrpc.py
  44. 0  examples/{ → misc}/djangowanted/urls.py
  45. 0  examples/{flowplayer → misc/djangowanted/wanted}/__init__.py
  46. 0  examples/{ → misc}/djangowanted/wanted/forms.py
  47. 0  examples/{ → misc}/djangowanted/wanted/jsonrpc.py
  48. 0  examples/{ → misc}/djangowanted/wanted/models.py
  49. 0  examples/{ → misc}/djangowanted/wanted/views.py
  50. 0  examples/{ → misc}/djangoweb/AUTHORS
  51. 0  examples/{ → misc}/djangoweb/README
  52. 0  examples/{djangoweb/webpages → misc/djangoweb}/__init__.py
  53. +7 −4 examples/{ → misc}/djangoweb/__main__.py
  54. 0  examples/{ → misc}/djangoweb/djangoweb.wsgi
  55. 0  examples/{ → misc}/djangoweb/djangowebindex.wsgi
  56. 0  examples/{ → misc}/djangoweb/localsettings.py
  57. 0  examples/{ → misc}/djangoweb/localurls.py
  58. 0  examples/{djangowanted → misc/djangoweb}/manage.py
  59. 0  examples/{ → misc}/djangoweb/media/Email.py
  60. 0  examples/{djangowanted → misc/djangoweb}/media/HTMLDialog.py
  61. 0  examples/{ → misc}/djangoweb/media/HTMLLinkPanel.py
  62. 0  examples/{djangowanted → misc/djangoweb}/media/Popups.py
  63. 0  examples/{ → misc}/djangoweb/media/WebPage.py
  64. 0  examples/{ → misc}/djangoweb/media/WebPageEdit.py
  65. 0  examples/{djangowanted → misc/djangoweb}/media/build.sh
  66. 0  examples/{djangowanted → misc/djangoweb}/media/public/WebPage.css
  67. 0  examples/{djangowanted → misc/djangoweb}/media/public/fckconfig.js
  68. 0  examples/{djangowanted → misc/djangoweb}/media/public/index.html
  69. 0  examples/{ → misc}/djangoweb/settings.py
  70. 0  examples/{djangowanted → misc/djangoweb}/templates/index.html
  71. 0  examples/{ → misc}/djangoweb/urls.py
  72. 0  examples/{djangoweb → misc/djangoweb/webpages}/__init__.py
  73. 0  examples/{gaedjangononrelpuremvcblog/post → misc/djangoweb/webpages}/jsonrpc.py
  74. 0  examples/{ → misc}/djangoweb/webpages/models.py
  75. 0  examples/{ → misc}/djangoweb/webpages/views.py
  76. 0  examples/{ → misc}/flowplayer/README
  77. 0  examples/{djangowanted/wanted → misc/flowplayer}/__init__.py
  78. 0  examples/{ → misc}/flowplayer/__main__.py
  79. +1 −1  examples/{ → misc}/flowplayer/build.sh
  80. 0  examples/{ → misc}/flowplayer/fp.py
  81. 0  examples/{ → misc}/flowplayer/server.py
  82. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/LICENSE
  83. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/README
  84. 0  examples/{djangowanted → misc/gaedjangononrelpuremvcblog}/__init__.py
  85. +1 −1  examples/{ → misc}/gaedjangononrelpuremvcblog/__main__.py
  86. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/app.yaml
  87. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/cron.yaml
  88. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/index.yaml
  89. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/manage.py
  90. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/Blog.py
  91. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/build.sh
  92. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/components.py
  93. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/controller.py
  94. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/model.py
  95. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/public/Blog.css
  96. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/public/Blog.html
  97. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/view.py
  98. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/media/vo.py
  99. 0  examples/{djangotasks/todo → misc/gaedjangononrelpuremvcblog/post}/__init__.py
  100. 0  examples/{djangoweb/webpages → misc/gaedjangononrelpuremvcblog/post}/jsonrpc.py
  101. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/post/models.py
  102. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/post/views.py
  103. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/settings.py
  104. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/templates/index.html
  105. 0  examples/{ → misc}/gaedjangononrelpuremvcblog/urls.py
  106. 0  examples/{ → misc}/pywebgtkbuilder/AutoGtk.py
  107. +12 −3 examples/{ → misc}/pywebgtkbuilder/__main__.py
  108. +2 −0  examples/misc/pywebgtkbuilder/build.sh
  109. 0  examples/{ → misc}/pywebgtkbuilder/public/AutoGtk.html
  110. 0  examples/{ → misc}/pywebgtkbuilder/public/address_form.ui
  111. 0  examples/{ → misc}/scoping/Foo.py
  112. 0  examples/{ → misc}/scoping/Scope.html
  113. 0  examples/{ → misc}/scoping/Scope.py
  114. 0  examples/{ → misc}/scoping/__main__.py
  115. +2 −0  examples/misc/scoping/build.sh
  116. 0  examples/{ → misc}/simplewiki/AUTHORS
  117. 0  examples/{ → misc}/simplewiki/JsonHandler.py
  118. 0  examples/{ → misc}/simplewiki/README
  119. 0  examples/{ → misc}/simplewiki/Wiki.html
  120. 0  examples/{ → misc}/simplewiki/Wiki.py
  121. 0  examples/{ → misc}/simplewiki/__main__.py
  122. +1 −1  examples/{ → misc}/simplewiki/build.sh
  123. 0  examples/{ → misc}/simplewiki/markdown.py
  124. 0  examples/{ → misc}/simplewiki/server.py
  125. 0  examples/{ → misc}/swfupload/README
  126. 0  examples/{djangotasks → misc/swfupload}/__init__.py
  127. 0  examples/{ → misc}/swfupload/__main__.py
  128. +1 −1  examples/{ → misc}/swfupload/build.sh
  129. 0  examples/{ → misc}/swfupload/server.py
  130. 0  examples/{ → misc}/swfupload/swfu.py
  131. +0 −2  examples/pywebgtkbuilder/build.sh
  132. +0 −2  examples/scoping/build.sh
11 examples/README
View
@@ -10,3 +10,14 @@ the pyjamas root. To build a specific example, execute 'python dirname'
If you've got a python version older than 2.6, you'll have to add
'/__main__.py' to the command (e.g. 'python ./__main__.py')
+
+The examples in this directory should be runnable right away (after
+compiling of course) from an apache server (some need some apache
+settings/configuration).
+
+In the misc directory you'll find examples that need additional steps
+(e.g. setting up a server) or are more for displaying certain
+coding/compiling features than showing some ui related features.
+
+In the deprecated directory contains examples that are not maintained
+(anymore).
2  examples/__main__.py
View
@@ -18,6 +18,8 @@
if not head:
head = '.'
paths = [head]
+if opts.misc:
+ paths.append(os.path.join(head, 'misc'))
if opts.deprecated:
paths.append(os.path.join(head, 'deprecated'))
7 examples/_examples/util.py
View
@@ -217,6 +217,13 @@ def get_optparser():
help='permit downloads of files or libraries',
)
add_option(
+ '--misc',
+ dest='misc',
+ action='store_true',
+ default=False,
+ help='build miscellaneous examples',
+ )
+ add_option(
'--deprecated',
dest='deprecated',
action='store_true',
6 examples/deprecated/README
View
@@ -0,0 +1,6 @@
+All examples in the deprecated are (guess what?) deprecated. This means that
+they might work but don't have to. They are also not tested for releases or
+whatsoever. Moreover, they might work for one browser and fail for another.
+
+Updates/fixes are welcome and might change the status from deprecated to
+maintained.
102 examples/index.html
View
@@ -156,36 +156,6 @@ <h3 class='desc'>Calendar usage</h3>
<h4 class='source'><a href="datefield/">source directory</a> (datefield)<h4>
<hr/>
-<!-- start djangotasks {example.djangotasks._comment_end}
- <h2 class='title'>{example.djangotasks.title}</h2>
- <h3 class='desc'>{example.djangotasks.desc}</h3>
- <ul class='demos'>
- {example.djangotasks.demos}
- </ul>
-{example.djangotasks._comment_start} -->
- <h4 class='source'><a href="djangotasks/">source directory</a> (djangotasks)<h4>
-
- <hr/>
-<!-- start djangowanted {example.djangowanted._comment_end}
- <h2 class='title'>{example.djangowanted.title}</h2>
- <h3 class='desc'>{example.djangowanted.desc}</h3>
- <ul class='demos'>
- {example.djangowanted.demos}
- </ul>
-{example.djangowanted._comment_start} -->
- <h4 class='source'><a href="djangowanted/">source directory</a> (djangowanted)<h4>
-
- <hr/>
-<!-- start djangoweb {example.djangoweb._comment_end}
- <h2 class='title'>{example.djangoweb.title}</h2>
- <h3 class='desc'>{example.djangoweb.desc}</h3>
- <ul class='demos'>
- {example.djangoweb.demos}
- </ul>
-{example.djangoweb._comment_start} -->
- <h4 class='source'><a href="djangoweb/">source directory</a> (djangoweb)<h4>
-
- <hr/>
<!-- start dnd -->
<h2 class='title'>Drag and Drop Tests</h2>
<h3 class='desc'>Several tests of pyjamas drag and drop</h3>
@@ -234,18 +204,6 @@ <h3 class='desc'>(unknown)</h3>
<h4 class='source'><a href="flowpanel/">source directory</a> (flowpanel)<h4>
<hr/>
-<!-- start flowplayer -->
- <h2 class='title'>FlowPlayer</h2>
- <h3 class='desc'>Use of flash component flowplayer</h3>
- <ul class='demos'>
-
- <li class='demo'>(demo) <a href="flowplayer/output/fp.html">fp</a></li>
-
- </ul>
-<!-- -->
- <h4 class='source'><a href="flowplayer/">source directory</a> (flowplayer)<h4>
-
- <hr/>
<!-- start formpanel -->
<h2 class='title'>Form Panel</h2>
<h3 class='desc'>FormPanel example</h3>
@@ -270,18 +228,6 @@ <h3 class='desc'>(unknown)</h3>
<h4 class='source'><a href="funnysortedgridthing/">source directory</a> (funnysortedgridthing)<h4>
<hr/>
-<!-- start gaedjangononrelpuremvcblog -->
- <h2 class='title'>GAE django-nonrel puremvc blog</h2>
- <h3 class='desc'>Combines concepts from django-nonrel, puremvc and google app engine.</h3>
- <ul class='demos'>
-
- <li class='demo'>(demo) <a href="gaedjangononrelpuremvcblog/output/Blog.html">Blog</a></li>
-
- </ul>
-<!-- -->
- <h4 class='source'><a href="gaedjangononrelpuremvcblog/">source directory</a> (gaedjangononrelpuremvcblog)<h4>
-
- <hr/>
<!-- start gcharttestapp -->
<h2 class='title'>GChart Test</h2>
<h3 class='desc'>Port of GChart Example</h3>
@@ -558,18 +504,6 @@ <h3 class='desc'>Access RESTful services such as google provide with their gdata
<h4 class='source'><a href="picasaweb/">source directory</a> (picasaweb)<h4>
<hr/>
-<!-- start pywebgtkbuilder -->
- <h2 class='title'>pywebgtkbuilder</h2>
- <h3 class='desc'>Python Web-Gtk "GtkBuilder" example</h3>
- <ul class='demos'>
-
- <li class='demo'>(demo) <a href="pywebgtkbuilder/output/AutoGtk.html">AutoGtk</a></li>
-
- </ul>
-<!-- -->
- <h4 class='source'><a href="pywebgtkbuilder/">source directory</a> (pywebgtkbuilder)<h4>
-
- <hr/>
<!-- start raphael -->
<h2 class='title'>raphael</h2>
<h3 class='desc'>Raphael JS wrapper example</h3>
@@ -582,18 +516,6 @@ <h3 class='desc'>Raphael JS wrapper example</h3>
<h4 class='source'><a href="raphael/">source directory</a> (raphael)<h4>
<hr/>
-<!-- start scoping -->
- <h2 class='title'>Scope</h2>
- <h3 class='desc'>Scope example</h3>
- <ul class='demos'>
-
- <li class='demo'>(demo) <a href="scoping/output/Scope.html">Scope</a></li>
-
- </ul>
-<!-- -->
- <h4 class='source'><a href="scoping/">source directory</a> (scoping)<h4>
-
- <hr/>
<!-- start shell -->
<h2 class='title'>shell</h2>
<h3 class='desc'>Shell / Window example</h3>
@@ -616,18 +538,6 @@ <h3 class='desc'>Showcase example</h3>
<h4 class='source'><a href="showcase/">source directory</a> (showcase)<h4>
<hr/>
-<!-- start simplewiki -->
- <h2 class='title'>simplewiki</h2>
- <h3 class='desc'>Simple Wiki example</h3>
- <ul class='demos'>
-
- <li class='demo'>(demo) <a href="simplewiki/output/Wiki.html">Wiki</a></li>
-
- </ul>
-<!-- -->
- <h4 class='source'><a href="simplewiki/">source directory</a> (simplewiki)<h4>
-
- <hr/>
<!-- start slideshow -->
<h2 class='title'>slideshow</h2>
<h3 class='desc'>Slideshow example</h3>
@@ -664,18 +574,6 @@ <h3 class='desc'>svg test example</h3>
<h4 class='source'><a href="svgtest/">source directory</a> (svgtest)<h4>
<hr/>
-<!-- start swfupload -->
- <h2 class='title'>swfupload</h2>
- <h3 class='desc'>swfupload example</h3>
- <ul class='demos'>
-
- <li class='demo'>(demo) <a href="swfupload/output/swfu.html">swfu</a></li>
-
- </ul>
-<!-- -->
- <h4 class='source'><a href="swfupload/">source directory</a> (swfupload)<h4>
-
- <hr/>
<!-- start tabpanelwidget -->
<h2 class='title'>tabpanelwidget</h2>
<h3 class='desc'>Tab Panel example</h3>
3  examples/misc/README
View
@@ -0,0 +1,3 @@
+This directory contains examples that need either a specific server
+or other additional software, or are more for explaining certain coding
+of compiling features.
0  examples/djangotasks/AUTHORS → examples/misc/djangotasks/AUTHORS
View
File renamed without changes
0  examples/djangotasks/README → examples/misc/djangotasks/README
View
File renamed without changes
0  examples/swfupload/__init__.py → examples/misc/djangotasks/__init__.py
View
File renamed without changes
8 examples/djangotasks/__main__.py → examples/misc/djangotasks/__main__.py
View
@@ -2,9 +2,11 @@
# -*- coding: utf-8 -*-
-TARGETS = [
- 'TodoApp.py',
-]
+TARGETS = {
+ 'TodoApp.py': dict(
+ path='media',
+ ),
+}
PACKAGE = {
0  examples/djangotasks/manage.py → examples/misc/djangotasks/manage.py
View
File renamed without changes
0  examples/djangotasks/media/TodoApp.html → examples/misc/djangotasks/media/TodoApp.html
View
File renamed without changes
0  examples/djangotasks/media/TodoApp.py → examples/misc/djangotasks/media/TodoApp.py
View
File renamed without changes
0  examples/djangotasks/media/build.sh → examples/misc/djangotasks/media/build.sh
View
File renamed without changes
0  examples/djangotasks/settings.py → examples/misc/djangotasks/settings.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/post/__init__.py → examples/misc/djangotasks/todo/__init__.py
View
File renamed without changes
0  examples/djangotasks/todo/models.py → examples/misc/djangotasks/todo/models.py
View
File renamed without changes
0  examples/djangotasks/todo/views.py → examples/misc/djangotasks/todo/views.py
View
File renamed without changes
0  examples/djangotasks/urls.py → examples/misc/djangotasks/urls.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/__init__.py → examples/misc/djangowanted/__init__.py
View
File renamed without changes
11 examples/djangowanted/__main__.py → examples/misc/djangowanted/__main__.py
View
@@ -3,10 +3,13 @@
TARGETS = {
- 'WebPage.py': dict(options=[
- '--bootstrap-file=bootstrap_progress.js',
- '--include-js=public/fckeditor/fckeditor.js',
- ])
+ 'WebPage.py': dict(
+ path='media',
+ options=[
+ '--bootstrap-file=bootstrap_progress.js',
+ '--include-js=public/fckeditor/fckeditor.js',
+ ],
+ )
}
0  examples/djangowanted/djangowanted.wsgi → examples/misc/djangowanted/djangowanted.wsgi
View
File renamed without changes
0  examples/djangowanted/djangowantedforms.wsgi → examples/misc/djangowanted/djangowantedforms.wsgi
View
File renamed without changes
0  examples/djangowanted/djangowantedindex.wsgi → examples/misc/djangowanted/djangowantedindex.wsgi
View
File renamed without changes
0  examples/djangowanted/localmanage.py → examples/misc/djangowanted/localmanage.py
View
File renamed without changes
0  examples/djangowanted/localsettings.py → examples/misc/djangowanted/localsettings.py
View
File renamed without changes
0  examples/djangowanted/localurls.py → examples/misc/djangowanted/localurls.py
View
File renamed without changes
0  examples/djangoweb/manage.py → examples/misc/djangowanted/manage.py
View
File renamed without changes
0  examples/djangoweb/media/HTMLDialog.py → examples/misc/djangowanted/media/HTMLDialog.py
View
File renamed without changes
0  examples/djangowanted/media/HTMLLinkPanel.py → examples/misc/djangowanted/media/HTMLLinkPanel.py
View
File renamed without changes
0  examples/djangoweb/media/Popups.py → examples/misc/djangowanted/media/Popups.py
View
File renamed without changes
0  examples/djangowanted/media/WebPage.py → examples/misc/djangowanted/media/WebPage.py
View
File renamed without changes
0  examples/djangowanted/media/WebPageEdit.py → examples/misc/djangowanted/media/WebPageEdit.py
View
File renamed without changes
0  examples/djangoweb/media/build.sh → examples/misc/djangowanted/media/build.sh
View
File renamed without changes
0  examples/djangoweb/media/public/WebPage.css → examples/misc/djangowanted/media/public/WebPage.css
View
File renamed without changes
0  examples/djangoweb/media/public/fckconfig.js → examples/misc/djangowanted/media/public/fckconfig.js
View
File renamed without changes
0  examples/djangoweb/media/public/index.html → examples/misc/djangowanted/media/public/index.html
View
File renamed without changes
0  examples/djangowanted/media/public/pyjdblank.html → ...les/misc/djangowanted/media/public/pyjdblank.html
View
File renamed without changes
0  examples/djangowanted/settings.py → examples/misc/djangowanted/settings.py
View
File renamed without changes
0  examples/djangoweb/templates/index.html → examples/misc/djangowanted/templates/index.html
View
File renamed without changes
0  examples/djangowanted/test_add_flagtypes.sh → examples/misc/djangowanted/test_add_flagtypes.sh
View
File renamed without changes
0  examples/djangowanted/test_forms.sh → examples/misc/djangowanted/test_forms.sh
View
File renamed without changes
0  examples/djangowanted/testjsonrpc.py → examples/misc/djangowanted/testjsonrpc.py
View
File renamed without changes
0  examples/djangowanted/urls.py → examples/misc/djangowanted/urls.py
View
File renamed without changes
0  examples/flowplayer/__init__.py → examples/misc/djangowanted/wanted/__init__.py
View
File renamed without changes
0  examples/djangowanted/wanted/forms.py → examples/misc/djangowanted/wanted/forms.py
View
File renamed without changes
0  examples/djangowanted/wanted/jsonrpc.py → examples/misc/djangowanted/wanted/jsonrpc.py
View
File renamed without changes
0  examples/djangowanted/wanted/models.py → examples/misc/djangowanted/wanted/models.py
View
File renamed without changes
0  examples/djangowanted/wanted/views.py → examples/misc/djangowanted/wanted/views.py
View
File renamed without changes
0  examples/djangoweb/AUTHORS → examples/misc/djangoweb/AUTHORS
View
File renamed without changes
0  examples/djangoweb/README → examples/misc/djangoweb/README
View
File renamed without changes
0  examples/djangoweb/webpages/__init__.py → examples/misc/djangoweb/__init__.py
View
File renamed without changes
11 examples/djangoweb/__main__.py → examples/misc/djangoweb/__main__.py
View
@@ -3,10 +3,13 @@
TARGETS = {
- 'WebPage.py': dict(options=[
- '--bootstrap-file=bootstrap_progress.js',
- '--include-js=public/fckeditor/fckeditor.js',
- ]),
+ 'WebPage.py': dict(
+ path='media',
+ options=[
+ '--bootstrap-file=bootstrap_progress.js',
+ '--include-js=public/fckeditor/fckeditor.js',
+ ],
+ ),
}
0  examples/djangoweb/djangoweb.wsgi → examples/misc/djangoweb/djangoweb.wsgi
View
File renamed without changes
0  examples/djangoweb/djangowebindex.wsgi → examples/misc/djangoweb/djangowebindex.wsgi
View
File renamed without changes
0  examples/djangoweb/localsettings.py → examples/misc/djangoweb/localsettings.py
View
File renamed without changes
0  examples/djangoweb/localurls.py → examples/misc/djangoweb/localurls.py
View
File renamed without changes
0  examples/djangowanted/manage.py → examples/misc/djangoweb/manage.py
View
File renamed without changes
0  examples/djangoweb/media/Email.py → examples/misc/djangoweb/media/Email.py
View
File renamed without changes
0  examples/djangowanted/media/HTMLDialog.py → examples/misc/djangoweb/media/HTMLDialog.py
View
File renamed without changes
0  examples/djangoweb/media/HTMLLinkPanel.py → examples/misc/djangoweb/media/HTMLLinkPanel.py
View
File renamed without changes
0  examples/djangowanted/media/Popups.py → examples/misc/djangoweb/media/Popups.py
View
File renamed without changes
0  examples/djangoweb/media/WebPage.py → examples/misc/djangoweb/media/WebPage.py
View
File renamed without changes
0  examples/djangoweb/media/WebPageEdit.py → examples/misc/djangoweb/media/WebPageEdit.py
View
File renamed without changes
0  examples/djangowanted/media/build.sh → examples/misc/djangoweb/media/build.sh
View
File renamed without changes
0  examples/djangowanted/media/public/WebPage.css → examples/misc/djangoweb/media/public/WebPage.css
View
File renamed without changes
0  examples/djangowanted/media/public/fckconfig.js → examples/misc/djangoweb/media/public/fckconfig.js
View
File renamed without changes
0  examples/djangowanted/media/public/index.html → examples/misc/djangoweb/media/public/index.html
View
File renamed without changes
0  examples/djangoweb/settings.py → examples/misc/djangoweb/settings.py
View
File renamed without changes
0  examples/djangowanted/templates/index.html → examples/misc/djangoweb/templates/index.html
View
File renamed without changes
0  examples/djangoweb/urls.py → examples/misc/djangoweb/urls.py
View
File renamed without changes
0  examples/djangoweb/__init__.py → examples/misc/djangoweb/webpages/__init__.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/post/jsonrpc.py → examples/misc/djangoweb/webpages/jsonrpc.py 100755 → 100644
View
File renamed without changes
0  examples/djangoweb/webpages/models.py → examples/misc/djangoweb/webpages/models.py
View
File renamed without changes
0  examples/djangoweb/webpages/views.py → examples/misc/djangoweb/webpages/views.py
View
File renamed without changes
0  examples/flowplayer/README → examples/misc/flowplayer/README
View
File renamed without changes
0  examples/djangowanted/wanted/__init__.py → examples/misc/flowplayer/__init__.py
View
File renamed without changes
0  examples/flowplayer/__main__.py → examples/misc/flowplayer/__main__.py
View
File renamed without changes
2  examples/flowplayer/build.sh → examples/misc/flowplayer/build.sh
View
@@ -1,6 +1,6 @@
#!/bin/sh
-PYJSBUILD="../../bin/pyjsbuild"
+PYJSBUILD="../../../bin/pyjsbuild"
options="$*"
#if [ -z $options ] ; then options="-O";fi
0  examples/flowplayer/fp.py → examples/misc/flowplayer/fp.py
View
File renamed without changes
0  examples/flowplayer/server.py → examples/misc/flowplayer/server.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/LICENSE → examples/misc/gaedjangononrelpuremvcblog/LICENSE
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/README → examples/misc/gaedjangononrelpuremvcblog/README
View
File renamed without changes
0  examples/djangowanted/__init__.py → examples/misc/gaedjangononrelpuremvcblog/__init__.py
View
File renamed without changes
2  examples/gaedjangononrelpuremvcblog/__main__.py → examples/misc/gaedjangononrelpuremvcblog/__main__.py
View
@@ -4,7 +4,7 @@
import os.path
head = os.path.dirname(__file__)
-puremvc = os.path.join(head, '..', 'employeeadmin')
+puremvc = os.path.join(head, '..', '..', 'employeeadmin')
TARGETS = {
'Blog.py': dict(
0  examples/gaedjangononrelpuremvcblog/app.yaml → examples/misc/gaedjangononrelpuremvcblog/app.yaml
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/cron.yaml → examples/misc/gaedjangononrelpuremvcblog/cron.yaml
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/index.yaml → examples/misc/gaedjangononrelpuremvcblog/index.yaml
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/manage.py → examples/misc/gaedjangononrelpuremvcblog/manage.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/media/Blog.py → ...les/misc/gaedjangononrelpuremvcblog/media/Blog.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/media/build.sh → ...es/misc/gaedjangononrelpuremvcblog/media/build.sh
View
File renamed without changes
0  ...es/gaedjangononrelpuremvcblog/media/components.py → ...sc/gaedjangononrelpuremvcblog/media/components.py
View
File renamed without changes
0  ...es/gaedjangononrelpuremvcblog/media/controller.py → ...sc/gaedjangononrelpuremvcblog/media/controller.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/media/model.py → ...es/misc/gaedjangononrelpuremvcblog/media/model.py
View
File renamed without changes
0  .../gaedjangononrelpuremvcblog/media/public/Blog.css → .../gaedjangononrelpuremvcblog/media/public/Blog.css
View
File renamed without changes
0  ...gaedjangononrelpuremvcblog/media/public/Blog.html → ...gaedjangononrelpuremvcblog/media/public/Blog.html
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/media/view.py → ...les/misc/gaedjangononrelpuremvcblog/media/view.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/media/vo.py → examples/misc/gaedjangononrelpuremvcblog/media/vo.py
View
File renamed without changes
0  examples/djangotasks/todo/__init__.py → .../misc/gaedjangononrelpuremvcblog/post/__init__.py
View
File renamed without changes
0  examples/djangoweb/webpages/jsonrpc.py → ...s/misc/gaedjangononrelpuremvcblog/post/jsonrpc.py 100644 → 100755
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/post/models.py → ...es/misc/gaedjangononrelpuremvcblog/post/models.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/post/views.py → ...les/misc/gaedjangononrelpuremvcblog/post/views.py
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/settings.py → examples/misc/gaedjangononrelpuremvcblog/settings.py
View
File renamed without changes
0  ...s/gaedjangononrelpuremvcblog/templates/index.html → ...c/gaedjangononrelpuremvcblog/templates/index.html
View
File renamed without changes
0  examples/gaedjangononrelpuremvcblog/urls.py → examples/misc/gaedjangononrelpuremvcblog/urls.py
View
File renamed without changes
0  examples/pywebgtkbuilder/AutoGtk.py → examples/misc/pywebgtkbuilder/AutoGtk.py
View
File renamed without changes
15 examples/pywebgtkbuilder/__main__.py → examples/misc/pywebgtkbuilder/__main__.py
View
@@ -1,10 +1,19 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+import os
+
+head = os.path.dirname(__file__)
+pygtkweb = os.path.join(head, '..', '..', '..', 'pygtkweb')
-TARGETS = [
- 'AutoGtk.py',
-]
+TARGETS = {
+ 'AutoGtk.py': dict(
+ options=[
+ '--library_dir',
+ os.path.join(pygtkweb, 'library'),
+ ],
+ )
+}
PACKAGE = {
2  examples/misc/pywebgtkbuilder/build.sh
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../../bin/pyjsbuild --library_dir=../../../pygtkweb/library $@ AutoGtk
0  examples/pywebgtkbuilder/public/AutoGtk.html → examples/misc/pywebgtkbuilder/public/AutoGtk.html
View
File renamed without changes
0  examples/pywebgtkbuilder/public/address_form.ui → examples/misc/pywebgtkbuilder/public/address_form.ui
View
File renamed without changes
0  examples/scoping/Foo.py → examples/misc/scoping/Foo.py
View
File renamed without changes
0  examples/scoping/Scope.html → examples/misc/scoping/Scope.html
View
File renamed without changes
0  examples/scoping/Scope.py → examples/misc/scoping/Scope.py
View
File renamed without changes
0  examples/scoping/__main__.py → examples/misc/scoping/__main__.py
View
File renamed without changes
2  examples/misc/scoping/build.sh
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../../bin/pyjsbuild $@ Scope
0  examples/simplewiki/AUTHORS → examples/misc/simplewiki/AUTHORS
View
File renamed without changes
0  examples/simplewiki/JsonHandler.py → examples/misc/simplewiki/JsonHandler.py
View
File renamed without changes
0  examples/simplewiki/README → examples/misc/simplewiki/README
View
File renamed without changes
0  examples/simplewiki/Wiki.html → examples/misc/simplewiki/Wiki.html
View
File renamed without changes
0  examples/simplewiki/Wiki.py → examples/misc/simplewiki/Wiki.py
View
File renamed without changes
0  examples/simplewiki/__main__.py → examples/misc/simplewiki/__main__.py
View
File renamed without changes
2  examples/simplewiki/build.sh → examples/misc/simplewiki/build.sh
View
@@ -6,5 +6,5 @@ ln -s ./output ./static
options="$*"
#if [ -z $options ] ; then options="-O";fi
-../../bin/pyjsbuild --print-statements $options Wiki
+../../../bin/pyjsbuild --print-statements $options Wiki
0  examples/simplewiki/markdown.py → examples/misc/simplewiki/markdown.py
View
File renamed without changes
0  examples/simplewiki/server.py → examples/misc/simplewiki/server.py
View
File renamed without changes
0  examples/swfupload/README → examples/misc/swfupload/README
View
File renamed without changes
0  examples/djangotasks/__init__.py → examples/misc/swfupload/__init__.py
View
File renamed without changes
0  examples/swfupload/__main__.py → examples/misc/swfupload/__main__.py
View
File renamed without changes
2  examples/swfupload/build.sh → examples/misc/swfupload/build.sh
View
@@ -1,6 +1,6 @@
#!/bin/sh
-PYJSBUILD="../../bin/pyjsbuild"
+PYJSBUILD="../../../bin/pyjsbuild"
options="$*"
#if [ -z $options ] ; then options="-O";fi
0  examples/swfupload/server.py → examples/misc/swfupload/server.py
View
File renamed without changes
0  examples/swfupload/swfu.py → examples/misc/swfupload/swfu.py
View
File renamed without changes
2  examples/pywebgtkbuilder/build.sh
View
@@ -1,2 +0,0 @@
-#!/bin/sh
-../../bin/pyjsbuild $@ AutoGtk
2  examples/scoping/build.sh
View
@@ -1,2 +0,0 @@
-#!/bin/sh
-../../bin/pyjsbuild $@ Scope
Please sign in to comment.
Something went wrong with that request. Please try again.