equal
deleted
inserted
replaced
49 be at least 1.0.1). |
49 be at least 1.0.1). |
50 """ |
50 """ |
51 print(error, file=sys.stderr) |
51 print(error, file=sys.stderr) |
52 sys.exit(1) |
52 sys.exit(1) |
53 |
53 |
54 if sys.version_info[0] >= 3: |
54 DYLIB_SUFFIX = sysconfig.get_config_vars()['EXT_SUFFIX'] |
55 DYLIB_SUFFIX = sysconfig.get_config_vars()['EXT_SUFFIX'] |
|
56 else: |
|
57 # deprecated in Python 3 |
|
58 DYLIB_SUFFIX = sysconfig.get_config_vars()['SO'] |
|
59 |
55 |
60 # Solaris Python packaging brain damage |
56 # Solaris Python packaging brain damage |
61 try: |
57 try: |
62 import hashlib |
58 import hashlib |
63 |
59 |