Permalink
Browse files

remove all sorts of duplicates, nonsense, and cruft

  • Loading branch information...
C Anthony Risinger
C Anthony Risinger committed Jun 23, 2012
1 parent d5106a2 commit df3340dd76571d584b951bf996cdaf04a0cf6cbc
View
@@ -1,45 +0,0 @@
-This is an ongoing and rather large bugreport, #234
-http://code.google.com/p/pyjamas/issues/detail?id=234
-so the list is maintained here
-
-Python builtins missing under pyjs:
-
-Easy to implement:
-apply (somewhat deprecated)
-basestring (String should do the job?)
-bin (new in 2.6)
-bytes (alias to str in 2.6)
-globals
-next
-print (under from __future__ import print_function)
-
-Requive work to implement:
-buffer (deprecated, irrelevant)
-bytearray (new in 2.6)
-coerce (somewhat deprecated)
-complex
-format
-id
-intern
-unichr
-unicode
-vars
-
-Easy but not needed without interactive prompt:
-copyright
-credits
-exit
-help
-license
-quit
-
-Very hard / impossible within PyJS:
-compile
-eval (very hard)
-execfile (very hard)
-file
-input
-open
-raw_input
-reload
-
View
@@ -1,18 +0,0 @@
-=================
-Development setup
-=================
-
-To run tests do the following in this directory.
-
-python2.5 bootstrap.py
-./bin/buildout
-./bin/test
-
-Note that the spidermonkey test requires that the "js" executable is
-in the PATH. The LibTests in the example directory are also run and
-checked for javascript exceptions that are not catched.
-
-Also a builder script gets created. see:
-
-./bin/build --help
-
View
@@ -1,52 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-
-$Id$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-ez = {}
-exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
-ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-import pkg_resources
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-if sys.platform == 'win32':
- cmd = '"%s"' % cmd # work around spawn lamosity on windows
-
-ws = pkg_resources.working_set
-assert os.spawnle(
- os.P_WAIT, sys.executable, sys.executable,
- '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout')
-import zc.buildout.buildout
-zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
-shutil.rmtree(tmpeggs)
View
@@ -1,13 +0,0 @@
-[buildout]
-develop = ../pyjs
-parts = test scripts
-
-[test]
-recipe = zc.recipe.testrunner
-defaults = ['--auto-color']
-eggs = pyjs [test]
-
-
-[scripts]
-recipe = zc.recipe.egg:script
-eggs = pyjs
View
@@ -1,19 +0,0 @@
-all: gendocs upload uploadexamples
-
-gendocs:
- python gendocs.py
- rsync --delete -rlvz api pyjs.org:/var/www/pyjs.org/htdocs/
-
-upload:
- cp -aux pyjs_site/output/* .
- rsync --exclude=pygit --exclude=examples --exclude=api --exclude=wiki \
- --delete -rlvz * pyjs.org:/var/www/pyjs.org/htdocs/
-
-uploadexamples:
- rsync -rlvz ../examples pyjs.org:/var/www/pyjs.org/htdocs/
-
-# use this to _just_ upload the web site, not everything else
-uploadsitehtml:
- cp -aux pyjs_site/public/* .
- rsync -rlvz pyjs_site/public/* pyjs.org:/var/www/pyjs.org/htdocs/
-
@@ -1,10 +0,0 @@
-<html>
- <head>
- <meta name="pygwt:module" content="ControlDemo">
- <title>Hello</title>
- </head>
- <body bgcolor="white">
- <script language="javascript" src="pygwt.js"></script>
- </body>
-</html>
-
@@ -1,20 +0,0 @@
-""" ControlDemo Example
-"""
-from pyjamas.ui import RootPanel, Label
-from pyjamas.Controls import VerticalDemoSlider
-
-class ControlDemo:
- def onModuleLoad(self):
- b = VerticalDemoSlider(0, 100)
- RootPanel().add(b)
-
- b.setWidth("20px")
- b.setHeight("100px")
-
- b.addControlValueListener(self)
- self.label = Label("Not set yet")
- RootPanel().add(self.label)
-
- def onControlValueChanged(self, slider, old_value, new_value):
- self.label.setText("Value: %d" % int(new_value))
-
View
@@ -1,15 +0,0 @@
-This is the source code directory. Clicking on the source code file,
-ControlDemo.html, does nothing. If you're reading this off the Internet,
-and you actually want the javascript to be loaded, that's in the output/
-directory. Go to output/ControlDemo.html with your browser, and you'll
-find that magically, it works.
-
-If, however, you're using Pyjamas Desktop, you're in the right place:
-you want "pyjd.py ./ControlDemo.py" or "pyjd.py ./ControlDemo.html"
-in THIS directory. If you do "pyjd.py ./ControlDemo.html" in the
-output/ directory, confusingly, it will also work... but that will
-be because you'll be running the javascript via pygwt.js and
-then Safari.cache.html, not the python file, ControlDemo.py.
-
-You'll get used to it, soon enough :)
-
View
@@ -1 +0,0 @@
-python ../../builder/build.py ControlDemo.py
@@ -1,10 +0,0 @@
-<html>
- <head>
- <meta name="pygwt:module" content="ControlDemo">
- <title>Hello</title>
- </head>
- <body bgcolor="white">
- <script language="javascript" src="pygwt.js"></script>
- </body>
-</html>
-
@@ -1,20 +0,0 @@
-""" ControlDemo Example
-"""
-from pyjamas.ui import RootPanel, Label
-from pyjamas.Controls import VerticalDemoSlider2
-
-class ControlDemo:
- def onModuleLoad(self):
- b = VerticalDemoSlider2(0, 100)
- RootPanel().add(b)
-
- b.setWidth("20px")
- b.setHeight("100px")
-
- b.addControlValueListener(self)
- self.label = Label("Not set yet")
- RootPanel().add(self.label)
-
- def onControlValueChanged(self, slider, old_value, new_value):
- self.label.setText("Value: %d" % int(new_value))
-
View
@@ -1,15 +0,0 @@
-This is the source code directory. Clicking on the source code file,
-ControlDemo.html, does nothing. If you're reading this off the Internet,
-and you actually want the javascript to be loaded, that's in the output/
-directory. Go to output/ControlDemo.html with your browser, and you'll
-find that magically, it works.
-
-If, however, you're using Pyjamas Desktop, you're in the right place:
-you want "pyjd.py ./ControlDemo.py" or "pyjd.py ./ControlDemo.html"
-in THIS directory. If you do "pyjd.py ./ControlDemo.html" in the
-output/ directory, confusingly, it will also work... but that will
-be because you'll be running the javascript via pygwt.js and
-then Safari.cache.html, not the python file, ControlDemo.py.
-
-You'll get used to it, soon enough :)
-
View
@@ -1 +0,0 @@
-python ../../../builder/build.py ControlDemo.py
Oops, something went wrong.

0 comments on commit df3340d

Please sign in to comment.