##// END OF EJS Templates
setup.py: do not install c extensions on pypy...
Joan Massich -
r24192:390410a6 default
parent child Browse files
Show More
@@ -63,6 +63,8 b' else:'
63 raise SystemExit(
63 raise SystemExit(
64 "Couldn't import standard bz2 (incomplete Python install).")
64 "Couldn't import standard bz2 (incomplete Python install).")
65
65
66 ispypy = "PyPy" in sys.version
67
66 import os, stat, subprocess, time
68 import os, stat, subprocess, time
67 import re
69 import re
68 import shutil
70 import shutil
@@ -276,7 +278,7 b' class hgbuildmo(build):'
276
278
277
279
278 class hgdist(Distribution):
280 class hgdist(Distribution):
279 pure = 0
281 pure = ispypy
280
282
281 global_options = Distribution.global_options + \
283 global_options = Distribution.global_options + \
282 [('pure', None, "use pure (slow) Python "
284 [('pure', None, "use pure (slow) Python "
General Comments 0
You need to be logged in to leave comments. Login now