Their presence is confusing to everyone, and they don't build appropriately anyway. Should anything break, the proper fix is to correct and/or add the relevant __main__.py script ... not use one of these.
|Failed to load latest commit information.|
|public||#716 - uploader examples. needs work!|
|AsyncUpload.py||find * -name '*.py' | xargs sed -i -r 's,\s+$,,'|
|README||#716 - uploader examples. needs work!|
|Upload.py||find * -name '*.py' | xargs sed -i -r 's,\s+$,,'|
|__main__.py||#716 - uploader examples. needs work!|
This is a demo of an asynchronous, non-Flash upload widget with progress reporting. Tested with FF >=4 and Chromium so far. Makes no sense with pyjd. To build, first read the top-level README (run boostrap and buildout) Then, run ./build.sh or: ../../bin/pyjsbuild Upload.py If using Apache or similar, make a symlink so output/Upload.html is hosted by a webserver and then open with a web browser. For this to work properly, you will need a receiving service; an example wsgi script is provided in public/services but it is absolutely minimal and requires mod_wsgi or equivalent. If you use mod_wsgi, you can configure the service with a one-liner in wsgi.conf, ala: WSGIScriptAlias /pyjamas_upload_demo /usr/share/pyjamas/examples/uploader/public/services/upload.wsgi