[pyjs/pyjs] 4f9bb7: Update setup.py

57 views
Skip to first unread message

GitHub

unread,
Apr 4, 2014, 10:41:39 PM4/4/14
to pyjs-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/pyjs/pyjs
Commit: 4f9bb739893176288c1ef6ff74deaa20a2b52a2b
https://github.com/pyjs/pyjs/commit/4f9bb739893176288c1ef6ff74deaa20a2b52a2b
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py

License, Keywords, URL, Long_Description and README.rst read function.
Reference: https://pythonhosted.org/an_example_pypi_project/setuptools.html


Commit: 311f7c6e706203388c0bc7dea3575cbff060ec92
https://github.com/pyjs/pyjs/commit/311f7c6e706203388c0bc7dea3575cbff060ec92
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py

As per mgilson suggestion on StackOverflow.
http://stackoverflow.com/questions/13361510/typeerror-unsupported-operand-types-for-dict-items-and-dict-items
http://stackoverflow.com/users/748858/mgilson
We adopted "An alternative way to add a pair of dictionaries which works on py2k and py3k".
Thank you mgilson.


Commit: a92a193c6f5ebff122a42ce6aa1c6fd9f47631cf
https://github.com/pyjs/pyjs/commit/a92a193c6f5ebff122a42ce6aa1c6fd9f47631cf
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py

Fixed Error:
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in REDACTED\src\pyjs

key_words to keywords.


Commit: ee9e148e1591eacd5ddcc40624a112ed7c517733
https://github.com/pyjs/pyjs/commit/ee9e148e1591eacd5ddcc40624a112ed7c517733
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py

SyntaxError: invalid syntax
Missing end of line commas.


Commit: 4dd172b7469917ba64dab659d385390dd1180800
https://github.com/pyjs/pyjs/commit/4dd172b7469917ba64dab659d385390dd1180800
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py
url = http://pyjs.org,
^

SyntaxError: invalid syntax


Commit: 87af7172874e6fccc2c17ce530b819553956a8a8
https://github.com/pyjs/pyjs/commit/87af7172874e6fccc2c17ce530b819553956a8a8
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py

I always do import os.path. This is consistent with how os.path is documented.
http://stackoverflow.com/questions/2724348/should-i-use-import-os-path-or-import-os


Commit: 6c9d6fd3f2e0cb52919c1178c4a60ea199de43e9
https://github.com/pyjs/pyjs/commit/6c9d6fd3f2e0cb52919c1178c4a60ea199de43e9
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
A pyjs/lib/test/__init__.py

Log Message:
-----------
Create pyjs\lib\test\__init__.py

-- package init file 'pyjs\lib\test\__init__.py' not found (or not a regular file)


Commit: 8f79556d17dac8a327a3319d0018d104207f2e50
https://github.com/pyjs/pyjs/commit/8f79556d17dac8a327a3319d0018d104207f2e50
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-15 (Sat, 15 Mar 2014)

Changed paths:
A pyjs/lib_trans/test/__init__.py

Log Message:
-----------
Create __init__.py

package init file 'pyjs\lib_trans\test\__init__.py' not found (or not a regular file)


Commit: 63d6c6d0ccb6f3573731558b36f7b02bf14d274a
https://github.com/pyjs/pyjs/commit/63d6c6d0ccb6f3573731558b36f7b02bf14d274a
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
A tests/__init__.py

Log Message:
-----------
Create __init__.py file

Add __init__.py


Commit: 5c0082b9fb62edad8880c9d546acb77009612f67
https://github.com/pyjs/pyjs/commit/5c0082b9fb62edad8880c9d546acb77009612f67
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M setup.py

Log Message:
-----------
Update setup.py

https://github.com/pyjs/pyjs/pull/819#discussion_r10641319
"Technically a single string is valid here, but I think a list of strings would make it clearer how to add additional keywords later. So: keywords=["js", "javascript"]." - @glyph


Commit: 75a803a3b2e5b22909d60899de64d30673abf2af
https://github.com/pyjs/pyjs/commit/75a803a3b2e5b22909d60899de64d30673abf2af
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
A pyjs/boilerplate/__init__.py

Log Message:
-----------
Create __init__.py

Pip complains:
```package init file 'pyjs\boilerplate\__init__.py' not found (or not a regular file)```


Commit: 1b32ef5f2e4a59c02af5ea33c3c954fa9b15dd14
https://github.com/pyjs/pyjs/commit/1b32ef5f2e4a59c02af5ea33c3c954fa9b15dd14
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M pyjs/__init__.py

Log Message:
-----------
Use in

"in is definitely more pythonic." - http://stackoverflow.com/a/1323426
```
line 2108, in load
File "c:\users\jose.torres\src\pyjs\pyjs\__init__.py", line 23, in <module>
if os.environ.has_key('PYJSPATH'):
AttributeError: '_Environ' object has no attribute 'has_key'
```
"Removed. dict.has_key() – use the in operator instead." - http://docs.python.org/3.1/whatsnew/3.0.html#builtins


Commit: 3213dcf13b37ffab23b97591dd0b71d8d58511e5
https://github.com/pyjs/pyjs/commit/3213dcf13b37ffab23b97591dd0b71d8d58511e5
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M pyjs/__init__.py

Log Message:
-----------
remove extra parentheses


Commit: b6f3701635f82c484b9f9377fb78d514a1a2aaab
https://github.com/pyjs/pyjs/commit/b6f3701635f82c484b9f9377fb78d514a1a2aaab
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M pyjs/__init__.py

Log Message:
-----------
Update __init__.py

```TypeError: 'in <string>' requires string as left operand, not _Environ```
We will start branching from master momentarily.


Commit: a09775cca0a297185f5abc5873c065c1fd08efb8
https://github.com/pyjs/pyjs/commit/a09775cca0a297185f5abc5873c065c1fd08efb8
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M pyjs/contrib/java2py.py

Log Message:
-----------
Add parantheses for print in python 3.0

print txt
SyntaxError: invalid syntax


Commit: e6b4ac94b7228b5fc71a1a32478abb6b41646cb4
https://github.com/pyjs/pyjs/commit/e6b4ac94b7228b5fc71a1a32478abb6b41646cb4
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M pyjs/browser.py

Log Message:
-----------
Add parantheses to print in browser.py

``` File "\pyjs\pyjs\browser.py", line 427
print "Building: %s\nPYJSPATH: %s" % (top_module, pformat(pyjs.path))
^
SyntaxError: invalid syntax```


Commit: 92c667ecec3f6072d6727cce8c68380b74f2c810
https://github.com/pyjs/pyjs/commit/92c667ecec3f6072d6727cce8c68380b74f2c810
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)

Changed paths:
M pyjs/browser.py

Log Message:
-----------
Lines 451-459 improvements for python 2to3

``` File "c:\users\jose.torres\src\pyjs\src\pyjs\pyjs\browser.py", line 451
print "Built to :", os.path.abspath(options.output)
^
SyntaxError: invalid syntax```

add parentheses for print function


Commit: 8a6375d0b1aaa8a007a1b43b8fac6490b8d5784b
https://github.com/pyjs/pyjs/commit/8a6375d0b1aaa8a007a1b43b8fac6490b8d5784b
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/browser.py

Log Message:
-----------
Line 457 - Missed Parentheses

``` File "c:\users\jose.torres\src\pyjs\src\pyjs\pyjs\browser.py", line 457
print "Visited Modules"
^
SyntaxError: invalid syntax```


Commit: 861c54e141fab37fae408b2f31aec7db4f9d6352
https://github.com/pyjs/pyjs/commit/861c54e141fab37fae408b2f31aec7db4f9d6352
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
if not in & missed parenthesis

Line 113 and Line 108
``` File "c:\users\jose.torres\src\pyjs\src\pyjs\pyjs\linker.py", line 108
print "Translating file %s:" % platform, file_name
^
SyntaxError: invalid syntax```


Commit: cc456ca2d4019d1e5565fa60ccf0e763f8601192
https://github.com/pyjs/pyjs/commit/cc456ca2d4019d1e5565fa60ccf0e763f8601192
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
Missed parentheses

Line 141 and 142
``` File "c:\users\jose.torres\src\pyjs\src\pyjs\pyjs\linker.py", line 141
print "List Imports %s:" % platform, file_names
^
SyntaxError: invalid syntax```


Commit: e4310e57af5f03d75311c3f5f25c0480a561fbe2
https://github.com/pyjs/pyjs/commit/e4310e57af5f03d75311c3f5f25c0480a561fbe2
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
Python Exception Handling Techniques

``` File "c:\users\jose.torres\src\pyjs\pyjs\linker.py", line 210
raise RuntimeError, "Module %r not found" % name
^
SyntaxError: invalid syntax```

http://doughellmann.com/2009/06/19/python-exception-handling-techniques.html


Commit: 41d9e56bf7c35f8efa5d5162a1f1215ef5d54dd2
https://github.com/pyjs/pyjs/commit/41d9e56bf7c35f8efa5d5162a1f1215ef5d54dd2
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
invalid syntax for except

``` except translator.TranslationError, e:
^
SyntaxError: invalid syntax```


Commit: 39f2b4726608b951763b2d6525b714faf5d5cd0e
https://github.com/pyjs/pyjs/commit/39f2b4726608b951763b2d6525b714faf5d5cd0e
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
Missing parentheses for print

``` File "c:\users\jose.torres\src\pyjs\pyjs\linker.py", line 303
print "Module %r not found, sys.path is %r" % (mn, paths)
^
SyntaxError: invalid syntax```


Commit: 8c26b9ba3c439bc7cc6c9d0c174b673ad1544222
https://github.com/pyjs/pyjs/commit/8c26b9ba3c439bc7cc6c9d0c174b673ad1544222
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
Update linker.py

``` raise RuntimeError, "Unknown js lib location: %r" % location
^
SyntaxError: invalid syntax```
http://doughellmann.com/2009/06/19/python-exception-handling-techniques.html


Commit: 125066c80f42cc127232f9852f52cf33b79c7299
https://github.com/pyjs/pyjs/commit/125066c80f42cc127232f9852f52cf33b79c7299
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
ImportError: No module named 'util'

```
File "c:\users\jose.torres\src\pyjs\pyjs\linker.py", line 3, in <module>
import util
ImportError: No module named 'util'
```

http://stackoverflow.com/a/11487609


Commit: de704ed6ec352f98bdd81b1d67b02e4861239043
https://github.com/pyjs/pyjs/commit/de704ed6ec352f98bdd81b1d67b02e4861239043
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/linker.py

Log Message:
-----------
import instead of from


Commit: bd5899219d1b099271f062ac6a8f43128a81364d
https://github.com/pyjs/pyjs/commit/bd5899219d1b099271f062ac6a8f43128a81364d
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjstest.py

Log Message:
-----------
Missing parentheses for print function

```File ".\pyjstest.py", line 153
print "Output will be produced in %s" % self.tmpdir```


Commit: aae6c9689273638b3ecdc08874d631da535ccf93
https://github.com/pyjs/pyjs/commit/aae6c9689273638b3ecdc08874d631da535ccf93
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjstest.py

Log Message:
-----------
Update pyjstest.py

``` File ".\pyjstest.py", line 205
print "Running `%s` at \"%s\"" % (cmd, cwd)
^
SyntaxError: invalid syntax```
Lines 391-443


Commit: b0eaa70e703568796e78d45eaf8ea7c598d50786
https://github.com/pyjs/pyjs/commit/b0eaa70e703568796e78d45eaf8ea7c598d50786
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjstest.py

Log Message:
-----------
Update pyjstest.py

python 2to3 conversion for exception handling and print.


Commit: 4d875410339e05048508b0941705c854671e44a1
https://github.com/pyjs/pyjs/commit/4d875410339e05048508b0941705c854671e44a1
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjstest.py

Log Message:
-----------
Missing parentheses

``` File ".\pyjstest.py", line 418
for test in test_pack['failed_list']:
^
SyntaxError: invalid syntax```


Commit: 4df9eb8c5451d876756dca3f93b807eff5391054
https://github.com/pyjs/pyjs/commit/4df9eb8c5451d876756dca3f93b807eff5391054
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjampiler.py

Log Message:
-----------
Update pyjampiler.py

``` File ".\pyjampiler.py", line 11
print 'pyjampiler loaded'
^
SyntaxError: invalid syntax```


Commit: 031e5565ff7572280127fbbea3630b186abffe9d
https://github.com/pyjs/pyjs/commit/031e5565ff7572280127fbbea3630b186abffe9d
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjampiler.py

Log Message:
-----------
Missing parentheses around print

``` File ".\pyjampiler.py", line 115
print "Compiling %s (%s)" % (module_name, based_filename)
^
SyntaxError: invalid syntax```


Commit: 05fa776ba532418d37af2dfefb4dd08fe0c56803
https://github.com/pyjs/pyjs/commit/05fa776ba532418d37af2dfefb4dd08fe0c56803
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator.py

Log Message:
-----------
Python 2to3 translator.py

```
pyjampiler loaded
Traceback (most recent call last):
File ".\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 59
print '/*'
^
SyntaxError: invalid syntax
```


Commit: 07ca8956eaafb51dd3caa59506d76efd3c6bb582
https://github.com/pyjs/pyjs/commit/07ca8956eaafb51dd3caa59506d76efd3c6bb582
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator.py

Log Message:
-----------
if 'PYJS_SYSPATH' in os.environ

```
pyjampiler loaded
Traceback (most recent call last):
File ".\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 3, in <module>
if os.environ.has_key('PYJS_SYSPATH'):
AttributeError: '_Environ' object has no attribute 'has_key'
```


Commit: 71127c19f0746a4b0091eb172ae4e282ca9f51db
https://github.com/pyjs/pyjs/commit/71127c19f0746a4b0091eb172ae4e282ca9f51db
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Syntax Error resolved by IOError(e)

except IOError(e):?

```
pyjampiler loaded
Traceback (most recent call last):
File ".\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module>
from translator_proto import *
File "\src\pyjs\pyjs\translator_proto.py", line 542
except IOError, e:
^
SyntaxError: invalid syntax
```


Commit: 00f3df1a48da56c3411565e417dccb0e692ac55e
https://github.com/pyjs/pyjs/commit/00f3df1a48da56c3411565e417dccb0e692ac55e
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Missing parentheses

```
pyjampiler loaded
Traceback (most recent call last):
File ".\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module>
from translator_proto import *
File "\src\pyjs\pyjs\translator_proto.py", line 1130
print 'attrib_join:', splitted, attr, word
^
SyntaxError: invalid syntax
```


Commit: 97463ef6518210473d826d6943e0ebc96501070f
https://github.com/pyjs/pyjs/commit/97463ef6518210473d826d6943e0ebc96501070f
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator.py

Log Message:
-----------
Add package directory

```
pyjampiler loaded
Traceback (most recent call last):
File "\python\3.3.2\scripts\pyjampiler-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'pyjampiler')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\src\pyjs\pyjs\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module>
from translator_proto import *
ImportError: No module named 'translator_proto'
```


Commit: 59d55fa6e26cf5b00221ea8813a8cc2e84747419
https://github.com/pyjs/pyjs/commit/59d55fa6e26cf5b00221ea8813a8cc2e84747419
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Update translator_proto.py

```
pyjampiler loaded
Traceback (most recent call last):
File "\python\3.3.2\scripts\pyjampiler-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'pyjampiler')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\src\pyjs\pyjs\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module>
from pyjs.translator_proto import *
File "\src\pyjs\pyjs\translator_proto.py", line 2134
except AttributeError, e:
^
SyntaxError: invalid syntax
```


Commit: 0ddd58cff5c9da1caa03ef183ed9129b11861216
https://github.com/pyjs/pyjs/commit/0ddd58cff5c9da1caa03ef183ed9129b11861216
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
translator_proto.py python 2to3

```
pyjampiler loaded
Traceback (most recent call last):
File "\python\3.3.2\scripts\pyjampiler-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'pyjampiler')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\src\pyjs\pyjs\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module>
from pyjs.translator_proto import *
File "\src\pyjs\pyjs\translator_proto.py", line 2389
except AttributeError, e:
^
SyntaxError: invalid syntax
```


Commit: c0e5cdbcdc734a64a945c04a99b12c49d2aba036
https://github.com/pyjs/pyjs/commit/c0e5cdbcdc734a64a945c04a99b12c49d2aba036
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Update translator_proto.py

```
pyjampiler loaded
Traceback (most recent call last):
File "\python\3.3.2\scripts\pyjampiler-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'pyjampiler')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\src\pyjs\pyjs\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module>
from pyjs.translator_proto import *
File "\src\pyjs\pyjs\translator_proto.py", line 2393
except TranslationError, e:
^
SyntaxError: invalid syntax
```


Commit: 71518408db810f0d677070be2f4ff32989ba0a57
https://github.com/pyjs/pyjs/commit/71518408db810f0d677070be2f4ff32989ba0a57
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Update translator_proto.py

```
pyjampiler loaded
Traceback (most recent call last):
File "\python\3.3.2\scripts\pyjampiler-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'pyjampiler')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\pyjs\pyjs\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\pyjs\pyjs\translator.py", line 15, in <module>
from pyjs.translator_proto import *
File "\pyjs\pyjs\translator_proto.py", line 4573
print "Merging", module_name, self.platform
^
SyntaxError: invalid syntax
```


Commit: 5e4e4da29a076fd85795c5889a5cb6b4181a8dba
https://github.com/pyjs/pyjs/commit/5e4e4da29a076fd85795c5889a5cb6b4181a8dba
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Update translator_proto.py

```
pyjampiler loaded
Traceback (most recent call last):
File ".\pyjampiler.py", line 19, in <module>
import pyjs.translator
File "\src\pyjs\pyjs\translator.py", line 15, in <module
from pyjs.translator_proto import *
File "\src\pyjs\pyjs\translator_proto.py", line 4845
print 'Including LIB', library
^
SyntaxError: invalid syntax
```


Commit: 440fc31072adc40623143e0c9f91fcfcb34eaed1
https://github.com/pyjs/pyjs/commit/440fc31072adc40623143e0c9f91fcfcb34eaed1
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
translator_proto.py 2to3

use if in and remove stringtype
http://stackoverflow.com/a/1633491


Commit: 1b729e9c60cab1a155ead5a2016d4926b0c5fe96
https://github.com/pyjs/pyjs/commit/1b729e9c60cab1a155ead5a2016d4926b0c5fe96
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/pyjstest.py

Log Message:
-----------
rename urllib2 to the urllib package.

http://docs.python.org/2.7/library/2to3.html


Commit: 88c5d8ea70195ea92588c2fd2f14f442a5f2c7b8
https://github.com/pyjs/pyjs/commit/88c5d8ea70195ea92588c2fd2f14f442a5f2c7b8
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/contrib/java2py.py

Log Message:
-----------
Add parentheses to java2py.py

```
Traceback (most recent call last):
File "\python\3.3.2\scripts\java2py-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'java2py')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\pyjs\pyjs\contrib\java2py.py", line 156
print txt, pre
^
SyntaxError: invalid syntax
```


Commit: 3be234553a0353f544421fd8e80e8930e8d3fc00
https://github.com/pyjs/pyjs/commit/3be234553a0353f544421fd8e80e8930e8d3fc00
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/contrib/java2py.py

Log Message:
-----------
Update java2py.py

```
Traceback (most recent call last):
File "\python\3.3.2\scripts\java2py-script.py", line 9, in <module>
load_entry_point('pyjs==0.8.2', 'console_scripts', 'java2py')()
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 357, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2394, in load_entry_point
File "\python\3.3.2\lib\site-packages\setuptools-1.4.1-py3.3.egg\pkg_resources.py",
line 2108, in load
File "\pyjs\pyjs\contrib\java2py.py", line 168
print txt
^
SyntaxError: invalid syntax
```


Commit: 36695f1dd09925758ce73c8707715386b3d827c5
https://github.com/pyjs/pyjs/commit/36695f1dd09925758ce73c8707715386b3d827c5
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
use six.moves for cStringIO

```
File "\pyjs\translator_proto.py", line 20, in <module>
from cStringIO import StringIO
ImportError: No module named 'cStringIO'
```
http://pythonhosted.org/six/


Commit: 8d456a19d50e6a4790796eb8a66a7579ba17682f
https://github.com/pyjs/pyjs/commit/8d456a19d50e6a4790796eb8a66a7579ba17682f
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
Wrong reorg for 2to3 cStringIO

http://python3porting.com/stdlib.html


Commit: 814219f441ed3d57d1f0fa4a8ebddd879d7d006f
https://github.com/pyjs/pyjs/commit/814219f441ed3d57d1f0fa4a8ebddd879d7d006f
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/translator_proto.py

Log Message:
-----------
add pyjs.

``` File "\pyjs\pyjs\translator_proto.py", line 28, in <module>
from options import (all_compile_options, add_compile_options,
ImportError: No module named 'options'
```


Commit: 0b1bf52cdd137a1990e4537f04afe76c9009a972
https://github.com/pyjs/pyjs/commit/0b1bf52cdd137a1990e4537f04afe76c9009a972
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/options.py

Log Message:
-----------
NameError: name 'long' is not defined

"Use int instead of long "
http://stackoverflow.com/a/14904834
six.PY2 for python 2 and six.PY3 for python 3 version detection
```
File "c:\users\jose.torres\src\pyjs\pyjs\options.py", line 64, in Mappings
_opt_types = {str: 'string', int: 'int', long: 'long',
NameError: name 'long' is not defined
```


Commit: 92bba67cf544adacd1a13fa40ac49848859abb85
https://github.com/pyjs/pyjs/commit/92bba67cf544adacd1a13fa40ac49848859abb85
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/options.py

Log Message:
-----------
Invalid Syntax elseif --> elif

``` File "\pyjs\pyjs\options.py", line 68
elseif six.PY3:
^
SyntaxError: invalid syntax```


Commit: dcdbfa859cdb76d0877cecbfc8fe7a75f9a2bb00
https://github.com/pyjs/pyjs/commit/dcdbfa859cdb76d0877cecbfc8fe7a75f9a2bb00
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/options.py

Log Message:
-----------
SyntaxError else without :

Better code reviews.
``` File "\pyjs\pyjs\options.py", line 72
else
^
SyntaxError: invalid syntax```


Commit: 765ff56f13645fd23f6ad0ba881c0f8325f9d584
https://github.com/pyjs/pyjs/commit/765ff56f13645fd23f6ad0ba881c0f8325f9d584
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/options.py

Log Message:
-----------
import six for python 2to3

```
File "\pyjs\pyjs\options.py", line 64, in Mappings
if six.PY2:
NameError: name 'six' is not defined
```


Commit: 3f931814ff8ca4c9a42476b2a5a7aaad240bb721
https://github.com/pyjs/pyjs/commit/3f931814ff8ca4c9a42476b2a5a7aaad240bb721
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/options.py

Log Message:
-----------
six.iteritems for python 2to3

"""

six.iteritems(dictionary, **kwargs)

Returns an iterator over dictionary‘s items. This replaces dictionary.iteritems() on Python 2 and dictionary.items() on Python 3. kwargs are passed through to the underlying method.
"""
```
File "\pyjs\pyjs\options.py", line 78, in __init__
for n, g in Groups.__dict__.iteritems():
AttributeError: 'mappingproxy' object has no attribute 'iteritems'
```


Commit: feb65b9d07278fafe477f1ff0dd7c9428bf9d62a
https://github.com/pyjs/pyjs/commit/feb65b9d07278fafe477f1ff0dd7c9428bf9d62a
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/lib_trans/pysymbol.py

Log Message:
-----------
Testing dictionary comprehension

http://stackoverflow.com/a/11941913
```
File "\pyjs\pyjs\lib_trans\pysymbol.py", line 97, in <module>
for _name, _value in globals().items():
RuntimeError: dictionary changed size during iteration
```
If this doesn't work consider six.iteritems()


Commit: 51fe0dd1c9b727d35031baf837b1cc0962ccdce0
https://github.com/pyjs/pyjs/commit/51fe0dd1c9b727d35031baf837b1cc0962ccdce0
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/lib_trans/pysymbol.py

Log Message:
-----------
import six.iteritems

Returns an iterator over dictionary‘s items. This replaces dictionary.iteritems() on Python 2 and dictionary.items() on Python 3. kwargs are passed through to the underlying method.
```
File "\pyjs\pyjs\lib_trans\pysymbol.py", line 97
for _name, _value in globals().items() if _name:
^
SyntaxError: invalid syntax
```


Commit: 869b97b311923ec057813fcd688a7361a823e501
https://github.com/pyjs/pyjs/commit/869b97b311923ec057813fcd688a7361a823e501
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/lib_trans/pysymbol.py

Log Message:
-----------
Update pysymbol.py

```
RuntimeError: dictionary changed size during iteration
```
http://stackoverflow.com/a/11941982


Commit: 0bc92e834137b397296d0e2610da591b5e65999c
https://github.com/pyjs/pyjs/commit/0bc92e834137b397296d0e2610da591b5e65999c
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/lib_trans/pysymbol.py

Log Message:
-----------
'list' object has no attribute 'items'

```
File "\pyjs\pyjs\lib_trans\pysymbol.py", line 99, in <module>
for _name, _value in six.iteritems(values) :
File "\python\3.3.2\lib\site-packages\six.py", line 498, in iteritems
return iter(getattr(d, _iteritems)(**kw))
AttributeError: 'list' object has no attribute 'items'
```


Commit: 7f4bc443dfe7e7fd944a8c68e376390ef5ddb2a2
https://github.com/pyjs/pyjs/commit/7f4bc443dfe7e7fd944a8c68e376390ef5ddb2a2
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/lib_trans/pysymbol.py

Log Message:
-----------
globals returns a dict not a list

globals() -- Return a dictionary representing the current global symbol table.

````
File "c:\users\jose.torres\src\pyjs\pyjs\lib_trans\pysymbol.py", line 99, in <module>
for _name, _value in six.iterlists(values) :
File "C:\Users\Jose.Torres\appdata\local\scoop\apps\python\3.3.2\lib\site-packages\six.py", line 502, in iterlists
return iter(getattr(d, _iterlists)(**kw))
AttributeError: 'list' object has no attribute 'lists'
```


Commit: 519c2e4d2aef604c0502601cf605348ca44b83b7
https://github.com/pyjs/pyjs/commit/519c2e4d2aef604c0502601cf605348ca44b83b7
Author: duly <du...@users.noreply.github.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)

Changed paths:
M pyjs/lib_trans/pycompiler/transformer.py

Log Message:
-----------
NameError: name 'StandardError' is not defined

"Replaced reference to StandardError with reference to Exception." -- http://bugs.python.org/issue13859
```
File "\pyjs\pyjs\translator_proto.py", line 37, in <module>
import pycompiler as compiler
File "\pyjs\pyjs\lib_trans\pycompiler\__init__.py", line 24, in <module>
from pycompiler.transformer import parse, parseFile
File "\pyjs\pyjs\lib_trans\pycompiler\transformer.py", line 37, in <module>
class WalkerError(StandardError):
NameError: name 'StandardError' is not defined
```


Commit: 1443e96f2f68a4ab9d5146fc14941cb14013baa4
https://github.com/pyjs/pyjs/commit/1443e96f2f68a4ab9d5146fc14941cb14013baa4
Author: Lex Berezhny <l...@damoti.com>
Date: 2014-04-04 (Fri, 04 Apr 2014)

Changed paths:
M pyjs/__init__.py
A pyjs/boilerplate/__init__.py
M pyjs/browser.py
M pyjs/contrib/java2py.py
A pyjs/lib/test/__init__.py
M pyjs/lib_trans/pycompiler/transformer.py
M pyjs/lib_trans/pysymbol.py
A pyjs/lib_trans/test/__init__.py
M pyjs/linker.py
M pyjs/options.py
M pyjs/pyjampiler.py
M pyjs/pyjstest.py
M pyjs/translator.py
M pyjs/translator_proto.py
M setup.py
A tests/__init__.py

Log Message:
-----------
Merge pull request #819 from duly/master

`pip install pyjs`


Compare: https://github.com/pyjs/pyjs/compare/7a8ec2aae429...1443e96f2f68
Reply all
Reply to author
Forward
0 new messages