OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slimit?expand=0&rev=26
17 lines
563 B
Diff
17 lines
563 B
Diff
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()
|