File remove-2to3.patch of Package python-slimit
Index: slimit-0.8.1/setup.py
===================================================================
--- slimit-0.8.1.orig/setup.py
+++ slimit-0.8.1/setup.py
@@ -23,11 +23,6 @@ if major == 2 and minor <=6:
requirements.append('odict')
if major == 3:
PYTHON3 = True
- try:
- import lib2to3 # Just a check--the module is not actually used
- except ImportError:
- print("Python 3.X support requires the 2to3 tool.")
- sys.exit(1)
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()