Mercurial > genshi > genshi-test
annotate examples_to_py3k.sh @ 914:c5faa881d87f experimental-py3k
py3k branch: add compatibility functions for dealing with python 3; factor existing compatibility functions out from genshi utils.
author | hodgestar |
---|---|
date | Sun, 24 Oct 2010 21:38:19 +0000 |
parents | 46db99909472 |
children |
rev | line source |
---|---|
912
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
1 #!/bin/sh |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
2 # |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
3 # Script to run 2to3 on files not covered by setup.py |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
4 # |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
5 export PYTHONIOENCODING=utf8 |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
6 |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
7 # General 2to3 run |
46db99909472
py3k branch: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
hodgestar
parents:
diff
changeset
|
8 2to3 -w --no-diffs examples/ |