Loading custom_fixers/__init__.pydeleted 100644 → 0 +0 −0 Empty file deleted. custom_fixers/fix_alt_unicode.pydeleted 100644 → 0 +0 −14 Original line number Diff line number Diff line # Taken from jinja2. Thanks, Armin Ronacher. # See also http://lucumr.pocoo.org/2010/2/11/porting-to-python-3-a-guide from lib2to3 import fixer_base class FixAltUnicode(fixer_base.BaseFix): PATTERN = "'__unicode__'" def transform(self, node, results): new = node.clone() new.value = '__str__' return new setup.py +0 −9 Original line number Diff line number Diff line Loading @@ -55,14 +55,6 @@ class Sdist(sdist): ROOT = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(ROOT, 'README')).read() if sys.version_info >= (3, 0): extra = { 'use_2to3': True, 'use_2to3_fixers': ['custom_fixers'], } else: extra = {} install_requires = ['PyYAML>=3.01', 'latexcodec>=1.0.4', 'six'] if sys.version_info < (2, 7): install_requires += ['Counter>=1.0.0'] Loading Loading @@ -171,5 +163,4 @@ setup( ], }, zip_safe=True, **extra ) Loading
custom_fixers/fix_alt_unicode.pydeleted 100644 → 0 +0 −14 Original line number Diff line number Diff line # Taken from jinja2. Thanks, Armin Ronacher. # See also http://lucumr.pocoo.org/2010/2/11/porting-to-python-3-a-guide from lib2to3 import fixer_base class FixAltUnicode(fixer_base.BaseFix): PATTERN = "'__unicode__'" def transform(self, node, results): new = node.clone() new.value = '__str__' return new
setup.py +0 −9 Original line number Diff line number Diff line Loading @@ -55,14 +55,6 @@ class Sdist(sdist): ROOT = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(ROOT, 'README')).read() if sys.version_info >= (3, 0): extra = { 'use_2to3': True, 'use_2to3_fixers': ['custom_fixers'], } else: extra = {} install_requires = ['PyYAML>=3.01', 'latexcodec>=1.0.4', 'six'] if sys.version_info < (2, 7): install_requires += ['Counter>=1.0.0'] Loading Loading @@ -171,5 +163,4 @@ setup( ], }, zip_safe=True, **extra )