forked from pool/python-matplotlib
89ec85c1c8
update to 1.2.0 python3 package added removed unneded hacks for 11.4 __pycache__ hacks still here, because python3-base not fixed yet (forwarded request 141073 from HighwayStar) OBS-URL: https://build.opensuse.org/request/show/141081 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=22
25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
--- setup.py 2012-11-08 11:24:12.000000000 +0900
|
|
+++ setup.py.patched 2012-11-12 12:57:31.920643001 +0900
|
|
@@ -297,14 +297,14 @@
|
|
# We need to skip certain files that have already been
|
|
# converted to Python 3.x
|
|
filtered = [x for x in files if should_2to3(x, self.build_lib)]
|
|
- if sys.platform.startswith('win'):
|
|
+ #if sys.platform.startswith('win'):
|
|
# doing this in parallel on windows may crash your computer
|
|
- [refactor(f) for f in filtered]
|
|
- else:
|
|
- p = multiprocessing.Pool()
|
|
- for i, x in enumerate(p.imap_unordered(refactor, filtered)):
|
|
- print("Running 2to3... %.02f%%" %
|
|
- (float(i) / len(filtered) * 100.0), end='\r')
|
|
+ [refactor(f) for f in filtered]
|
|
+ #else:
|
|
+ # p = multiprocessing.Pool()
|
|
+ # for i, x in enumerate(p.imap_unordered(refactor, filtered)):
|
|
+ # print("Running 2to3... %.02f%%" %
|
|
+ # (float(i) / len(filtered) * 100.0), end='\r')
|
|
print()
|
|
|
|
print_raw("pymods %s" % py_modules)
|