/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
/opt/alt/python27/lib64/python2.7
mkdir
upload
Name
Size
Mode
Actions
bsddb/
-
0755
rm
compiler/
-
0755
rm
config/
-
0755
rm
ctypes/
-
0755
rm
curses/
-
0755
rm
distutils/
-
0755
rm
email/
-
0755
rm
encodings/
-
0755
rm
ensurepip/
-
0755
rm
hotshot/
-
0755
rm
idlelib/
-
0755
rm
importlib/
-
0755
rm
json/
-
0755
rm
lib-dynload/
-
0755
rm
lib2to3/
-
0755
rm
logging/
-
0755
rm
multiprocessing/
-
0755
rm
plat-linux2/
-
0755
rm
pydoc_data/
-
0755
rm
site-packages/
-
0755
rm
sqlite3/
-
0755
rm
test/
-
0755
rm
unittest/
-
0755
rm
wsgiref/
-
0755
rm
xml/
-
0755
rm
abc.py
7145
0644
edit
dl
rm
abc.pyc
6286
0644
edit
dl
rm
abc.pyo
6230
0644
edit
dl
rm
aifc.py
34579
0644
edit
dl
rm
aifc.pyc
31408
0644
edit
dl
rm
aifc.pyo
31408
0644
edit
dl
rm
antigravity.py
60
0644
edit
dl
rm
antigravity.pyc
216
0644
edit
dl
rm
antigravity.pyo
216
0644
edit
dl
rm
anydbm.py
2663
0644
edit
dl
rm
anydbm.pyc
2839
0644
edit
dl
rm
anydbm.pyo
2839
0644
edit
dl
rm
argparse.py
89228
0644
edit
dl
rm
argparse.pyc
66382
0644
edit
dl
rm
argparse.pyo
66217
0644
edit
dl
rm
ast.py
11805
0644
edit
dl
rm
ast.pyc
13250
0644
edit
dl
rm
ast.pyo
13250
0644
edit
dl
rm
asynchat.py
11581
0644
edit
dl
rm
asynchat.pyc
9200
0644
edit
dl
rm
asynchat.pyo
9200
0644
edit
dl
rm
asyncore.py
20943
0644
edit
dl
rm
asyncore.pyc
19660
0644
edit
dl
rm
asyncore.pyo
19660
0644
edit
dl
rm
atexit.py
1705
0644
edit
dl
rm
atexit.pyc
2281
0644
edit
dl
rm
atexit.pyo
2281
0644
edit
dl
rm
audiodev.py
7597
0644
edit
dl
rm
audiodev.pyc
8820
0644
edit
dl
rm
audiodev.pyo
8820
0644
edit
dl
rm
base64.py
11803
0755
edit
dl
rm
base64.pyc
11531
0644
edit
dl
rm
base64.pyo
11531
0644
edit
dl
rm
BaseHTTPServer.py
22747
0644
edit
dl
rm
BaseHTTPServer.pyc
21982
0644
edit
dl
rm
BaseHTTPServer.pyo
21982
0644
edit
dl
rm
Bastion.py
5744
0644
edit
dl
rm
Bastion.pyc
6855
0644
edit
dl
rm
Bastion.pyo
6855
0644
edit
dl
rm
bdb.py
21714
0644
edit
dl
rm
bdb.pyc
19894
0644
edit
dl
rm
bdb.pyo
19894
0644
edit
dl
rm
binhex.py
14698
0644
edit
dl
rm
binhex.pyc
16123
0644
edit
dl
rm
binhex.pyo
16123
0644
edit
dl
rm
bisect.py
2595
0644
edit
dl
rm
bisect.pyc
3136
0644
edit
dl
rm
bisect.pyo
3136
0644
edit
dl
rm
calendar.py
23384
0644
edit
dl
rm
calendar.pyc
28940
0644
edit
dl
rm
calendar.pyo
28940
0644
edit
dl
rm
cgi.py
35794
0755
edit
dl
rm
cgi.pyc
34034
0644
edit
dl
rm
cgi.pyo
34034
0644
edit
dl
rm
CGIHTTPServer.py
13089
0644
edit
dl
rm
CGIHTTPServer.pyc
11187
0644
edit
dl
rm
CGIHTTPServer.pyo
11187
0644
edit
dl
rm
cgitb.py
12175
0644
edit
dl
rm
cgitb.pyc
12372
0644
edit
dl
rm
cgitb.pyo
12372
0644
edit
dl
rm
chunk.py
5419
0644
edit
dl
rm
chunk.pyc
5745
0644
edit
dl
rm
chunk.pyo
5745
0644
edit
dl
rm
cmd.py
15026
0644
edit
dl
rm
cmd.pyc
14312
0644
edit
dl
rm
cmd.pyo
14312
0644
edit
dl
rm
code.py
10189
0644
edit
dl
rm
code.pyc
10542
0644
edit
dl
rm
code.pyo
10542
0644
edit
dl
rm
codecs.py
36143
0644
edit
dl
rm
codecs.pyc
38046
0644
edit
dl
rm
codecs.pyo
38046
0644
edit
dl
rm
codeop.py
5999
0644
edit
dl
rm
codeop.pyc
6727
0644
edit
dl
rm
codeop.pyo
6727
0644
edit
dl
rm
collections.py
27798
0644
edit
dl
rm
collections.pyc
26839
0644
edit
dl
rm
collections.pyo
26788
0644
edit
dl
rm
colorsys.py
3691
0644
edit
dl
rm
colorsys.pyc
4095
0644
edit
dl
rm
colorsys.pyo
4095
0644
edit
dl
rm
commands.py
2545
0644
edit
dl
rm
commands.pyc
2547
0644
edit
dl
rm
commands.pyo
2547
0644
edit
dl
rm
compileall.py
7763
0644
edit
dl
rm
compileall.pyc
7095
0644
edit
dl
rm
compileall.pyo
7095
0644
edit
dl
rm
ConfigParser.py
27746
0644
edit
dl
rm
ConfigParser.pyc
25980
0644
edit
dl
rm
ConfigParser.pyo
25980
0644
edit
dl
rm
contextlib.py
4424
0644
edit
dl
rm
contextlib.pyc
4610
0644
edit
dl
rm
contextlib.pyo
4610
0644
edit
dl
rm
Cookie.py
26538
0644
edit
dl
rm
Cookie.pyc
23152
0644
edit
dl
rm
Cookie.pyo
23152
0644
edit
dl
rm
cookielib.py
65486
0644
edit
dl
rm
cookielib.pyc
55986
0644
edit
dl
rm
cookielib.pyo
55798
0644
edit
dl
rm
copy.py
11533
0644
edit
dl
rm
copy.pyc
12508
0644
edit
dl
rm
copy.pyo
12416
0644
edit
dl
rm
copy_reg.py
6974
0644
edit
dl
rm
copy_reg.pyc
5310
0644
edit
dl
rm
copy_reg.pyo
5266
0644
edit
dl
rm
cProfile.py
6570
0755
edit
dl
rm
cProfile.pyc
6577
0644
edit
dl
rm
cProfile.pyo
6577
0644
edit
dl
rm
crypt.py
2291
0644
edit
dl
rm
crypt.pyc
3025
0644
edit
dl
rm
crypt.pyo
3025
0644
edit
dl
rm
csv.py
16708
0644
edit
dl
rm
csv.pyc
13884
0644
edit
dl
rm
csv.pyo
13884
0644
edit
dl
rm
dbhash.py
498
0644
edit
dl
rm
dbhash.pyc
744
0644
edit
dl
rm
dbhash.pyo
744
0644
edit
dl
rm
decimal.py
221933
0644
edit
dl
rm
decimal.pyc
175470
0644
edit
dl
rm
decimal.pyo
175470
0644
edit
dl
rm
difflib.py
82325
0644
edit
dl
rm
difflib.pyc
62600
0644
edit
dl
rm
difflib.pyo
62549
0644
edit
dl
rm
dircache.py
1126
0644
edit
dl
rm
dircache.pyc
1628
0644
edit
dl
rm
dircache.pyo
1628
0644
edit
dl
rm
dis.py
6499
0644
edit
dl
rm
dis.pyc
6332
0644
edit
dl
rm
dis.pyo
6332
0644
edit
dl
rm
doctest.py
105095
0644
edit
dl
rm
doctest.pyc
85210
0644
edit
dl
rm
doctest.pyo
84923
0644
edit
dl
rm
DocXMLRPCServer.py
10768
0644
edit
dl
rm
DocXMLRPCServer.pyc
10442
0644
edit
dl
rm
DocXMLRPCServer.pyo
10333
0644
edit
dl
rm
dumbdbm.py
9141
0644
edit
dl
rm
dumbdbm.pyc
6993
0644
edit
dl
rm
dumbdbm.pyo
6993
0644
edit
dl
rm
dummy_thread.py
4418
0644
edit
dl
rm
dummy_thread.pyc
5589
0644
edit
dl
rm
dummy_thread.pyo
5589
0644
edit
dl
rm
dummy_threading.py
2804
0644
edit
dl
rm
dummy_threading.pyc
1298
0644
edit
dl
rm
dummy_threading.pyo
1298
0644
edit
dl
rm
filecmp.py
9588
0644
edit
dl
rm
filecmp.pyc
9882
0644
edit
dl
rm
filecmp.pyo
9882
0644
edit
dl
rm
fileinput.py
13746
0644
edit
dl
rm
fileinput.pyc
14890
0644
edit
dl
rm
fileinput.pyo
14890
0644
edit
dl
rm
fnmatch.py
3315
0644
edit
dl
rm
fnmatch.pyc
3692
0644
edit
dl
rm
fnmatch.pyo
3692
0644
edit
dl
rm
formatter.py
14911
0644
edit
dl
rm
formatter.pyc
20179
0644
edit
dl
rm
formatter.pyo
20179
0644
edit
dl
rm
fpformat.py
4732
0644
edit
dl
rm
fpformat.pyc
4807
0644
edit
dl
rm
fpformat.pyo
4807
0644
edit
dl
rm
fractions.py
22390
0644
edit
dl
rm
fractions.pyc
20218
0644
edit
dl
rm
fractions.pyo
20218
0644
edit
dl
rm
ftplib.py
38194
0644
edit
dl
rm
ftplib.pyc
35652
0644
edit
dl
rm
ftplib.pyo
35652
0644
edit
dl
rm
functools.py
4806
0644
edit
dl
rm
functools.pyc
7019
0644
edit
dl
rm
functools.pyo
7019
0644
edit
dl
rm
genericpath.py
3201
0644
edit
dl
rm
genericpath.pyc
3660
0644
edit
dl
rm
genericpath.pyo
3660
0644
edit
dl
rm
getopt.py
7319
0644
edit
dl
rm
getopt.pyc
6784
0644
edit
dl
rm
getopt.pyo
6739
0644
edit
dl
rm
getpass.py
5563
0644
edit
dl
rm
getpass.pyc
4835
0644
edit
dl
rm
getpass.pyo
4835
0644
edit
dl
rm
gettext.py
22666
0644
edit
dl
rm
gettext.pyc
18602
0644
edit
dl
rm
gettext.pyo
18602
0644
edit
dl
rm
glob.py
3114
0644
edit
dl
rm
glob.pyc
3047
0644
edit
dl
rm
glob.pyo
3047
0644
edit
dl
rm
gzip.py
19028
0644
edit
dl
rm
gzip.pyc
15626
0644
edit
dl
rm
gzip.pyo
15626
0644
edit
dl
rm
hashlib.py
7842
0644
edit
dl
rm
hashlib.pyc
7026
0644
edit
dl
rm
hashlib.pyo
7026
0644
edit
dl
rm
heapq.py
18295
0644
edit
dl
rm
heapq.pyc
14798
0644
edit
dl
rm
heapq.pyo
14798
0644
edit
dl
rm
hmac.py
4588
0644
edit
dl
rm
hmac.pyc
4672
0644
edit
dl
rm
hmac.pyo
4672
0644
edit
dl
rm
htmlentitydefs.py
18056
0644
edit
dl
rm
htmlentitydefs.pyc
6380
0644
edit
dl
rm
htmlentitydefs.pyo
6380
0644
edit
dl
rm
htmllib.py
12869
0644
edit
dl
rm
htmllib.pyc
21492
0644
edit
dl
rm
htmllib.pyo
21492
0644
edit
dl
rm
HTMLParser.py
17171
0644
edit
dl
rm
HTMLParser.pyc
14143
0644
edit
dl
rm
HTMLParser.pyo
13838
0644
edit
dl
rm
httplib.py
52300
0644
edit
dl
rm
httplib.pyc
38793
0644
edit
dl
rm
httplib.pyo
38609
0644
edit
dl
rm
ihooks.py
18986
0644
edit
dl
rm
ihooks.pyc
22269
0644
edit
dl
rm
ihooks.pyo
22269
0644
edit
dl
rm
imaplib.py
48366
0644
edit
dl
rm
imaplib.pyc
46272
0644
edit
dl
rm
imaplib.pyo
43506
0644
edit
dl
rm
imghdr.py
3541
0644
edit
dl
rm
imghdr.pyc
5046
0644
edit
dl
rm
imghdr.pyo
5046
0644
edit
dl
rm
imputil.py
25764
0644
edit
dl
rm
imputil.pyc
16117
0644
edit
dl
rm
imputil.pyo
15939
0644
edit
dl
rm
inspect.py
43008
0644
edit
dl
rm
inspect.pyc
41126
0644
edit
dl
rm
inspect.pyo
41126
0644
edit
dl
rm
io.py
3322
0644
edit
dl
rm
io.pyc
3654
0644
edit
dl
rm
io.pyo
3654
0644
edit
dl
rm
keyword.py
1992
0755
edit
dl
rm
keyword.pyc
2131
0644
edit
dl
rm
keyword.pyo
2131
0644
edit
dl
rm
linecache.py
4027
0644
edit
dl
rm
linecache.pyc
3350
0644
edit
dl
rm
linecache.pyo
3350
0644
edit
dl
rm
locale.py
102834
0644
edit
dl
rm
locale.pyc
57026
0644
edit
dl
rm
locale.pyo
57026
0644
edit
dl
rm
macpath.py
6289
0644
edit
dl
rm
macpath.pyc
7928
0644
edit
dl
rm
macpath.pyo
7928
0644
edit
dl
rm
macurl2path.py
2731
0644
edit
dl
rm
macurl2path.pyc
2296
0644
edit
dl
rm
macurl2path.pyo
2296
0644
edit
dl
rm
mailbox.py
81240
0644
edit
dl
rm
mailbox.pyc
79564
0644
edit
dl
rm
mailbox.pyo
79517
0644
edit
dl
rm
mailcap.py
7429
0644
edit
dl
rm
mailcap.pyc
7248
0644
edit
dl
rm
mailcap.pyo
7248
0644
edit
dl
rm
markupbase.py
14643
0644
edit
dl
rm
markupbase.pyc
9488
0644
edit
dl
rm
markupbase.pyo
9292
0644
edit
dl
rm
md5.py
358
0644
edit
dl
rm
md5.pyc
391
0644
edit
dl
rm
md5.pyo
391
0644
edit
dl
rm
mhlib.py
33434
0644
edit
dl
rm
mhlib.pyc
34791
0644
edit
dl
rm
mhlib.pyo
34791
0644
edit
dl
rm
mimetools.py
7168
0644
edit
dl
rm
mimetools.pyc
8461
0644
edit
dl
rm
mimetools.pyo
8461
0644
edit
dl
rm
mimetypes.py
21028
0644
edit
dl
rm
mimetypes.pyc
18736
0644
edit
dl
rm
mimetypes.pyo
18736
0644
edit
dl
rm
MimeWriter.py
6482
0644
edit
dl
rm
MimeWriter.pyc
7481
0644
edit
dl
rm
MimeWriter.pyo
7481
0644
edit
dl
rm
mimify.py
15017
0755
edit
dl
rm
mimify.pyc
12196
0644
edit
dl
rm
mimify.pyo
12196
0644
edit
dl
rm
modulefinder.py
24461
0644
edit
dl
rm
modulefinder.pyc
19582
0644
edit
dl
rm
modulefinder.pyo
19500
0644
edit
dl
rm
multifile.py
4820
0644
edit
dl
rm
multifile.pyc
5615
0644
edit
dl
rm
multifile.pyo
5573
0644
edit
dl
rm
mutex.py
1878
0644
edit
dl
rm
mutex.pyc
2607
0644
edit
dl
rm
mutex.pyo
2607
0644
edit
dl
rm
netrc.py
5888
0644
edit
dl
rm
netrc.pyc
4831
0644
edit
dl
rm
netrc.pyo
4831
0644
edit
dl
rm
new.py
610
0644
edit
dl
rm
new.pyc
875
0644
edit
dl
rm
new.pyo
875
0644
edit
dl
rm
nntplib.py
21470
0644
edit
dl
rm
nntplib.pyc
21616
0644
edit
dl
rm
nntplib.pyo
21616
0644
edit
dl
rm
ntpath.py
19429
0644
edit
dl
rm
ntpath.pyc
13415
0644
edit
dl
rm
ntpath.pyo
13415
0644
edit
dl
rm
nturl2path.py
2419
0644
edit
dl
rm
nturl2path.pyc
1854
0644
edit
dl
rm
nturl2path.pyo
1854
0644
edit
dl
rm
numbers.py
10319
0644
edit
dl
rm
numbers.pyc
14818
0644
edit
dl
rm
numbers.pyo
14818
0644
edit
dl
rm
opcode.py
5474
0644
edit
dl
rm
opcode.pyc
6210
0644
edit
dl
rm
opcode.pyo
6210
0644
edit
dl
rm
optparse.py
61203
0644
edit
dl
rm
optparse.pyc
55714
0644
edit
dl
rm
optparse.pyo
55631
0644
edit
dl
rm
os.py
25910
0644
edit
dl
rm
os.pyc
26378
0644
edit
dl
rm
os.pyo
26378
0644
edit
dl
rm
os2emxpath.py
4635
0644
edit
dl
rm
os2emxpath.pyc
4642
0644
edit
dl
rm
os2emxpath.pyo
4642
0644
edit
dl
rm
pdb.doc
7914
0644
edit
dl
rm
pdb.py
46095
0755
edit
dl
rm
pdb.pyc
45151
0644
edit
dl
rm
pdb.pyo
45151
0644
edit
dl
rm
pickle.py
45489
0644
edit
dl
rm
pickle.pyc
39912
0644
edit
dl
rm
pickle.pyo
39716
0644
edit
dl
rm
pickletools.py
74523
0644
edit
dl
rm
pickletools.pyc
57448
0644
edit
dl
rm
pickletools.pyo
56587
0644
edit
dl
rm
pipes.py
9582
0644
edit
dl
rm
pipes.pyc
9516
0644
edit
dl
rm
pipes.pyo
9516
0644
edit
dl
rm
pkgutil.py
20243
0644
edit
dl
rm
pkgutil.pyc
19388
0644
edit
dl
rm
pkgutil.pyo
19388
0644
edit
dl
rm
platform.py
52785
0755
edit
dl
rm
platform.pyc
38602
0644
edit
dl
rm
platform.pyo
38602
0644
edit
dl
rm
plistlib.py
15185
0644
edit
dl
rm
plistlib.pyc
20008
0644
edit
dl
rm
plistlib.pyo
19922
0644
edit
dl
rm
popen2.py
8416
0644
edit
dl
rm
popen2.pyc
9233
0644
edit
dl
rm
popen2.pyo
9191
0644
edit
dl
rm
poplib.py
12824
0644
edit
dl
rm
poplib.pyc
13774
0644
edit
dl
rm
poplib.pyo
13774
0644
edit
dl
rm
posixfile.py
8003
0644
edit
dl
rm
posixfile.pyc
7808
0644
edit
dl
rm
posixfile.pyo
7808
0644
edit
dl
rm
posixpath.py
14293
0644
edit
dl
rm
posixpath.pyc
11761
0644
edit
dl
rm
posixpath.pyo
11761
0644
edit
dl
rm
pprint.py
11777
0644
edit
dl
rm
pprint.pyc
10441
0644
edit
dl
rm
pprint.pyo
10264
0644
edit
dl
rm
profile.py
22778
0755
edit
dl
rm
profile.pyc
16963
0644
edit
dl
rm
profile.pyo
16716
0644
edit
dl
rm
pstats.py
26712
0644
edit
dl
rm
pstats.pyc
25793
0644
edit
dl
rm
pstats.pyo
25793
0644
edit
dl
rm
pty.py
5058
0644
edit
dl
rm
pty.pyc
5096
0644
edit
dl
rm
pty.pyo
5096
0644
edit
dl
rm
pyclbr.py
13388
0644
edit
dl
rm
pyclbr.pyc
9820
0644
edit
dl
rm
pyclbr.pyo
9820
0644
edit
dl
rm
pydoc.py
95663
0755
edit
dl
rm
pydoc.pyc
94914
0644
edit
dl
rm
pydoc.pyo
94850
0644
edit
dl
rm
py_compile.py
5936
0644
edit
dl
rm
py_compile.pyc
6519
0644
edit
dl
rm
py_compile.pyo
6519
0644
edit
dl
rm
Queue.py
8577
0644
edit
dl
rm
Queue.pyc
9788
0644
edit
dl
rm
Queue.pyo
9788
0644
edit
dl
rm
quopri.py
6965
0755
edit
dl
rm
quopri.pyc
6717
0644
edit
dl
rm
quopri.pyo
6717
0644
edit
dl
rm
random.py
32457
0644
edit
dl
rm
random.pyc
26263
0644
edit
dl
rm
random.pyo
26263
0644
edit
dl
rm
re.py
13423
0644
edit
dl
rm
re.pyc
13686
0644
edit
dl
rm
re.pyo
13686
0644
edit
dl
rm
repr.py
4296
0644
edit
dl
rm
repr.pyc
5606
0644
edit
dl
rm
repr.pyo
5606
0644
edit
dl
rm
rexec.py
20148
0644
edit
dl
rm
rexec.pyc
24574
0644
edit
dl
rm
rexec.pyo
24574
0644
edit
dl
rm
rfc822.py
33542
0644
edit
dl
rm
rfc822.pyc
32593
0644
edit
dl
rm
rfc822.pyo
32593
0644
edit
dl
rm
rlcompleter.py
5991
0644
edit
dl
rm
rlcompleter.pyc
6182
0644
edit
dl
rm
rlcompleter.pyo
6182
0644
edit
dl
rm
robotparser.py
7695
0644
edit
dl
rm
robotparser.pyc
8315
0644
edit
dl
rm
robotparser.pyo
8315
0644
edit
dl
rm
runpy.py
11081
0644
edit
dl
rm
runpy.pyc
9063
0644
edit
dl
rm
runpy.pyo
9063
0644
edit
dl
rm
sched.py
5088
0644
edit
dl
rm
sched.pyc
5111
0644
edit
dl
rm
sched.pyo
5111
0644
edit
dl
rm
sets.py
19050
0644
edit
dl
rm
sets.pyc
17623
0644
edit
dl
rm
sets.pyo
17623
0644
edit
dl
rm
sgmllib.py
17884
0644
edit
dl
rm
sgmllib.pyc
16047
0644
edit
dl
rm
sgmllib.pyo
16047
0644
edit
dl
rm
sha.py
393
0644
edit
dl
rm
sha.pyc
434
0644
edit
dl
rm
sha.pyo
434
0644
edit
dl
rm
shelve.py
8178
0644
edit
dl
rm
shelve.pyc
10607
0644
edit
dl
rm
shelve.pyo
10607
0644
edit
dl
rm
shlex.py
11164
0644
edit
dl
rm
shlex.pyc
7727
0644
edit
dl
rm
shlex.pyo
7727
0644
edit
dl
rm
shutil.py
19871
0644
edit
dl
rm
shutil.pyc
19649
0644
edit
dl
rm
shutil.pyo
19649
0644
edit
dl
rm
SimpleHTTPServer.py
7997
0644
edit
dl
rm
SimpleHTTPServer.pyc
8153
0644
edit
dl
rm
SimpleHTTPServer.pyo
8153
0644
edit
dl
rm
SimpleXMLRPCServer.py
25812
0644
edit
dl
rm
SimpleXMLRPCServer.pyc
23331
0644
edit
dl
rm
SimpleXMLRPCServer.pyo
23331
0644
edit
dl
rm
site.py
19637
0644
edit
dl
rm
site.pyc
19819
0644
edit
dl
rm
site.pyo
19819
0644
edit
dl
rm
smtpd.py
18539
0755
edit
dl
rm
smtpd.pyc
16286
0644
edit
dl
rm
smtpd.pyo
16286
0644
edit
dl
rm
smtplib.py
32131
0755
edit
dl
rm
smtplib.pyc
31019
0644
edit
dl
rm
smtplib.pyo
31019
0644
edit
dl
rm
sndhdr.py
5973
0644
edit
dl
rm
sndhdr.pyc
7582
0644
edit
dl
rm
sndhdr.pyo
7582
0644
edit
dl
rm
socket.py
20615
0644
edit
dl
rm
socket.pyc
16542
0644
edit
dl
rm
socket.pyo
16456
0644
edit
dl
rm
SocketServer.py
23948
0644
edit
dl
rm
SocketServer.pyc
24828
0644
edit
dl
rm
SocketServer.pyo
24828
0644
edit
dl
rm
sre.py
384
0644
edit
dl
rm
sre.pyc
532
0644
edit
dl
rm
sre.pyo
532
0644
edit
dl
rm
sre_compile.py
19823
0644
edit
dl
rm
sre_compile.pyc
12755
0644
edit
dl
rm
sre_compile.pyo
12599
0644
edit
dl
rm
sre_constants.py
7197
0644
edit
dl
rm
sre_constants.pyc
6260
0644
edit
dl
rm
sre_constants.pyo
6260
0644
edit
dl
rm
sre_parse.py
30700
0644
edit
dl
rm
sre_parse.pyc
21624
0644
edit
dl
rm
sre_parse.pyo
21624
0644
edit
dl
rm
ssl.py
37455
0644
edit
dl
rm
ssl.pyc
33015
0644
edit
dl
rm
ssl.pyo
33015
0644
edit
dl
rm
stat.py
1842
0644
edit
dl
rm
stat.pyc
2881
0644
edit
dl
rm
stat.pyo
2881
0644
edit
dl
rm
statvfs.py
898
0644
edit
dl
rm
statvfs.pyc
633
0644
edit
dl
rm
statvfs.pyo
633
0644
edit
dl
rm
string.py
21548
0644
edit
dl
rm
string.pyc
21122
0644
edit
dl
rm
string.pyo
21122
0644
edit
dl
rm
StringIO.py
10662
0644
edit
dl
rm
StringIO.pyc
11727
0644
edit
dl
rm
StringIO.pyo
11727
0644
edit
dl
rm
stringold.py
12449
0644
edit
dl
rm
stringold.pyc
12900
0644
edit
dl
rm
stringold.pyo
12900
0644
edit
dl
rm
stringprep.py
13522
0644
edit
dl
rm
stringprep.pyc
14747
0644
edit
dl
rm
stringprep.pyo
14675
0644
edit
dl
rm
struct.py
82
0644
edit
dl
rm
struct.pyc
252
0644
edit
dl
rm
struct.pyo
252
0644
edit
dl
rm
subprocess.py
50520
0644
edit
dl
rm
subprocess.pyc
33100
0644
edit
dl
rm
subprocess.pyo
33100
0644
edit
dl
rm
sunau.py
17222
0644
edit
dl
rm
sunau.pyc
19018
0644
edit
dl
rm
sunau.pyo
19018
0644
edit
dl
rm
sunaudio.py
1399
0644
edit
dl
rm
sunaudio.pyc
2052
0644
edit
dl
rm
sunaudio.pyo
2052
0644
edit
dl
rm
symbol.py
2054
0755
edit
dl
rm
symbol.pyc
3052
0644
edit
dl
rm
symbol.pyo
3052
0644
edit
dl
rm
symtable.py
7437
0644
edit
dl
rm
symtable.pyc
12436
0644
edit
dl
rm
symtable.pyo
12305
0644
edit
dl
rm
sysconfig.py
22852
0644
edit
dl
rm
sysconfig.pyc
18156
0644
edit
dl
rm
sysconfig.pyo
18153
0644
edit
dl
rm
tabnanny.py
11336
0755
edit
dl
rm
tabnanny.pyc
8507
0644
edit
dl
rm
tabnanny.pyo
8507
0644
edit
dl
rm
tarfile.py
90568
0644
edit
dl
rm
tarfile.pyc
78374
0644
edit
dl
rm
tarfile.pyo
78374
0644
edit
dl
rm
telnetlib.py
27036
0644
edit
dl
rm
telnetlib.pyc
23583
0644
edit
dl
rm
telnetlib.pyo
23583
0644
edit
dl
rm
tempfile.py
19547
0644
edit
dl
rm
tempfile.pyc
21046
0644
edit
dl
rm
tempfile.pyo
21046
0644
edit
dl
rm
textwrap.py
17280
0644
edit
dl
rm
textwrap.pyc
12279
0644
edit
dl
rm
textwrap.pyo
12187
0644
edit
dl
rm
this.py
1002
0644
edit
dl
rm
this.pyc
1233
0644
edit
dl
rm
this.pyo
1233
0644
edit
dl
rm
threading.py
47282
0644
edit
dl
rm
threading.pyc
43999
0644
edit
dl
rm
threading.pyo
41825
0644
edit
dl
rm
timeit.py
12788
0755
edit
dl
rm
timeit.pyc
12352
0644
edit
dl
rm
timeit.pyo
12352
0644
edit
dl
rm
toaiff.py
3142
0644
edit
dl
rm
toaiff.pyc
3158
0644
edit
dl
rm
toaiff.pyo
3158
0644
edit
dl
rm
token.py
2922
0644
edit
dl
rm
token.pyc
3881
0644
edit
dl
rm
token.pyo
3881
0644
edit
dl
rm
tokenize.py
17483
0644
edit
dl
rm
tokenize.pyc
14713
0644
edit
dl
rm
tokenize.pyo
14657
0644
edit
dl
rm
trace.py
29888
0755
edit
dl
rm
trace.pyc
23235
0644
edit
dl
rm
trace.pyo
23172
0644
edit
dl
rm
traceback.py
11285
0644
edit
dl
rm
traceback.pyc
11939
0644
edit
dl
rm
traceback.pyo
11939
0644
edit
dl
rm
tty.py
879
0644
edit
dl
rm
tty.pyc
1356
0644
edit
dl
rm
tty.pyo
1356
0644
edit
dl
rm
types.py
2094
0644
edit
dl
rm
types.pyc
2816
0644
edit
dl
rm
types.pyo
2816
0644
edit
dl
rm
urllib.py
60228
0644
edit
dl
rm
urllib.pyc
52580
0644
edit
dl
rm
urllib.pyo
52485
0644
edit
dl
rm
urllib2.py
52537
0644
edit
dl
rm
urllib2.pyc
48949
0644
edit
dl
rm
urllib2.pyo
48854
0644
edit
dl
rm
urlparse.py
16678
0644
edit
dl
rm
urlparse.pyc
15886
0644
edit
dl
rm
urlparse.pyo
15886
0644
edit
dl
rm
user.py
1627
0644
edit
dl
rm
user.pyc
1737
0644
edit
dl
rm
user.pyo
1737
0644
edit
dl
rm
UserDict.py
7060
0644
edit
dl
rm
UserDict.pyc
10296
0644
edit
dl
rm
UserDict.pyo
10296
0644
edit
dl
rm
UserList.py
3644
0644
edit
dl
rm
UserList.pyc
7019
0644
edit
dl
rm
UserList.pyo
7019
0644
edit
dl
rm
UserString.py
9684
0755
edit
dl
rm
UserString.pyc
15748
0644
edit
dl
rm
UserString.pyo
15748
0644
edit
dl
rm
uu.py
6694
0755
edit
dl
rm
uu.pyc
4455
0644
edit
dl
rm
uu.pyo
4455
0644
edit
dl
rm
uuid.py
23175
0644
edit
dl
rm
uuid.pyc
23778
0644
edit
dl
rm
uuid.pyo
23662
0644
edit
dl
rm
warnings.py
14823
0644
edit
dl
rm
warnings.pyc
13809
0644
edit
dl
rm
warnings.pyo
13020
0644
edit
dl
rm
wave.py
18582
0644
edit
dl
rm
wave.pyc
20676
0644
edit
dl
rm
wave.pyo
20532
0644
edit
dl
rm
weakref.py
14830
0644
edit
dl
rm
weakref.pyc
17130
0644
edit
dl
rm
weakref.pyo
17130
0644
edit
dl
rm
webbrowser.py
22722
0755
edit
dl
rm
webbrowser.pyc
20335
0644
edit
dl
rm
webbrowser.pyo
20290
0644
edit
dl
rm
whichdb.py
3388
0644
edit
dl
rm
whichdb.pyc
2267
0644
edit
dl
rm
whichdb.pyo
2267
0644
edit
dl
rm
wsgiref.egg-info
187
0644
edit
dl
rm
xdrlib.py
6069
0644
edit
dl
rm
xdrlib.pyc
10448
0644
edit
dl
rm
xdrlib.pyo
10448
0644
edit
dl
rm
xmllib.py
34865
0644
edit
dl
rm
xmllib.pyc
27550
0644
edit
dl
rm
xmllib.pyo
27550
0644
edit
dl
rm
xmlrpclib.py
52136
0644
edit
dl
rm
xmlrpclib.pyc
45887
0644
edit
dl
rm
xmlrpclib.pyo
45703
0644
edit
dl
rm
zipfile.py
59477
0644
edit
dl
rm
zipfile.pyc
42930
0644
edit
dl
rm
zipfile.pyo
42930
0644
edit
dl
rm
_abcoll.py
18619
0644
edit
dl
rm
_abcoll.pyc
27034
0644
edit
dl
rm
_abcoll.pyo
27034
0644
edit
dl
rm
_LWPCookieJar.py
6553
0644
edit
dl
rm
_LWPCookieJar.pyc
5512
0644
edit
dl
rm
_LWPCookieJar.pyo
5512
0644
edit
dl
rm
_MozillaCookieJar.py
5797
0644
edit
dl
rm
_MozillaCookieJar.pyc
4513
0644
edit
dl
rm
_MozillaCookieJar.pyo
4474
0644
edit
dl
rm
_osx_support.py
19100
0644
edit
dl
rm
_osx_support.pyc
12005
0644
edit
dl
rm
_osx_support.pyo
12005
0644
edit
dl
rm
_pyio.py
69630
0644
edit
dl
rm
_pyio.pyc
66976
0644
edit
dl
rm
_pyio.pyo
66976
0644
edit
dl
rm
_strptime.py
20728
0644
edit
dl
rm
_strptime.pyc
15432
0644
edit
dl
rm
_strptime.pyo
15432
0644
edit
dl
rm
_sysconfigdata.py
19182
0644
edit
dl
rm
_sysconfigdata.pyc
22361
0644
edit
dl
rm
_sysconfigdata.pyo
22361
0644
edit
dl
rm
_threading_local.py
7260
0644
edit
dl
rm
_threading_local.pyc
6490
0644
edit
dl
rm
_threading_local.pyo
6490
0644
edit
dl
rm
_weakrefset.py
5911
0644
edit
dl
rm
_weakrefset.pyc
10302
0644
edit
dl
rm
_weakrefset.pyo
10302
0644
edit
dl
rm
__future__.py
4380
0644
edit
dl
rm
__future__.pyc
4301
0644
edit
dl
rm
__future__.pyo
4301
0644
edit
dl
rm
__phello__.foo.py
64
0644
edit
dl
rm
__phello__.foo.pyc
138
0644
edit
dl
rm
__phello__.foo.pyo
138
0644
edit
dl
rm
Edit:
/opt/alt/python27/lib64/python2.7/_osx_support.py
(19100B)
"""Shared OS X support functions.""" import os import re import sys __all__ = [ 'compiler_fixup', 'customize_config_vars', 'customize_compiler', 'get_platform_osx', ] # configuration variables that may contain universal build flags, # like "-arch" or "-isdkroot", that may need customization for # the user environment _UNIVERSAL_CONFIG_VARS = ('CFLAGS', 'LDFLAGS', 'CPPFLAGS', 'BASECFLAGS', 'BLDSHARED', 'LDSHARED', 'CC', 'CXX', 'PY_CFLAGS', 'PY_LDFLAGS', 'PY_CPPFLAGS', 'PY_CORE_CFLAGS') # configuration variables that may contain compiler calls _COMPILER_CONFIG_VARS = ('BLDSHARED', 'LDSHARED', 'CC', 'CXX') # prefix added to original configuration variable names _INITPRE = '_OSX_SUPPORT_INITIAL_' def _find_executable(executable, path=None): """Tries to find 'executable' in the directories listed in 'path'. A string listing directories separated by 'os.pathsep'; defaults to os.environ['PATH']. Returns the complete filename or None if not found. """ if path is None: path = os.environ['PATH'] paths = path.split(os.pathsep) base, ext = os.path.splitext(executable) if (sys.platform == 'win32' or os.name == 'os2') and (ext != '.exe'): executable = executable + '.exe' if not os.path.isfile(executable): for p in paths: f = os.path.join(p, executable) if os.path.isfile(f): # the file exists, we have a shot at spawn working return f return None else: return executable def _read_output(commandstring): """Output from successful command execution or None""" # Similar to os.popen(commandstring, "r").read(), # but without actually using os.popen because that # function is not usable during python bootstrap. # tempfile is also not available then. import contextlib try: import tempfile fp = tempfile.NamedTemporaryFile() except ImportError: fp = open("/tmp/_osx_support.%s"%( os.getpid(),), "w+b") with contextlib.closing(fp) as fp: cmd = "%s 2>/dev/null >'%s'" % (commandstring, fp.name) return fp.read().strip() if not os.system(cmd) else None def _find_build_tool(toolname): """Find a build tool on current path or using xcrun""" return (_find_executable(toolname) or _read_output("/usr/bin/xcrun -find %s" % (toolname,)) or '' ) _SYSTEM_VERSION = None def _get_system_version(): """Return the OS X system version as a string""" # Reading this plist is a documented way to get the system # version (see the documentation for the Gestalt Manager) # We avoid using platform.mac_ver to avoid possible bootstrap issues during # the build of Python itself (distutils is used to build standard library # extensions). global _SYSTEM_VERSION if _SYSTEM_VERSION is None: _SYSTEM_VERSION = '' try: f = open('/System/Library/CoreServices/SystemVersion.plist') except IOError: # We're on a plain darwin box, fall back to the default # behaviour. pass else: try: m = re.search(r'<key>ProductUserVisibleVersion</key>\s*' r'<string>(.*?)</string>', f.read()) finally: f.close() if m is not None: _SYSTEM_VERSION = '.'.join(m.group(1).split('.')[:2]) # else: fall back to the default behaviour return _SYSTEM_VERSION def _remove_original_values(_config_vars): """Remove original unmodified values for testing""" # This is needed for higher-level cross-platform tests of get_platform. for k in list(_config_vars): if k.startswith(_INITPRE): del _config_vars[k] def _save_modified_value(_config_vars, cv, newvalue): """Save modified and original unmodified value of configuration var""" oldvalue = _config_vars.get(cv, '') if (oldvalue != newvalue) and (_INITPRE + cv not in _config_vars): _config_vars[_INITPRE + cv] = oldvalue _config_vars[cv] = newvalue def _supports_universal_builds(): """Returns True if universal builds are supported on this system""" # As an approximation, we assume that if we are running on 10.4 or above, # then we are running with an Xcode environment that supports universal # builds, in particular -isysroot and -arch arguments to the compiler. This # is in support of allowing 10.4 universal builds to run on 10.3.x systems. osx_version = _get_system_version() if osx_version: try: osx_version = tuple(int(i) for i in osx_version.split('.')) except ValueError: osx_version = '' return bool(osx_version >= (10, 4)) if osx_version else False def _find_appropriate_compiler(_config_vars): """Find appropriate C compiler for extension module builds""" # Issue #13590: # The OSX location for the compiler varies between OSX # (or rather Xcode) releases. With older releases (up-to 10.5) # the compiler is in /usr/bin, with newer releases the compiler # can only be found inside Xcode.app if the "Command Line Tools" # are not installed. # # Furthermore, the compiler that can be used varies between # Xcode releases. Up to Xcode 4 it was possible to use 'gcc-4.2' # as the compiler, after that 'clang' should be used because # gcc-4.2 is either not present, or a copy of 'llvm-gcc' that # miscompiles Python. # skip checks if the compiler was overridden with a CC env variable if 'CC' in os.environ: return _config_vars # The CC config var might contain additional arguments. # Ignore them while searching. cc = oldcc = _config_vars['CC'].split()[0] if not _find_executable(cc): # Compiler is not found on the shell search PATH. # Now search for clang, first on PATH (if the Command LIne # Tools have been installed in / or if the user has provided # another location via CC). If not found, try using xcrun # to find an uninstalled clang (within a selected Xcode). # NOTE: Cannot use subprocess here because of bootstrap # issues when building Python itself (and os.popen is # implemented on top of subprocess and is therefore not # usable as well) cc = _find_build_tool('clang') elif os.path.basename(cc).startswith('gcc'): # Compiler is GCC, check if it is LLVM-GCC data = _read_output("'%s' --version" % (cc.replace("'", "'\"'\"'"),)) if data and 'llvm-gcc' in data: # Found LLVM-GCC, fall back to clang cc = _find_build_tool('clang') if not cc: raise SystemError( "Cannot locate working compiler") if cc != oldcc: # Found a replacement compiler. # Modify config vars using new compiler, if not already explicitly # overridden by an env variable, preserving additional arguments. for cv in _COMPILER_CONFIG_VARS: if cv in _config_vars and cv not in os.environ: cv_split = _config_vars[cv].split() cv_split[0] = cc if cv != 'CXX' else cc + '++' _save_modified_value(_config_vars, cv, ' '.join(cv_split)) return _config_vars def _remove_universal_flags(_config_vars): """Remove all universal build arguments from config vars""" for cv in _UNIVERSAL_CONFIG_VARS: # Do not alter a config var explicitly overridden by env var if cv in _config_vars and cv not in os.environ: flags = _config_vars[cv] flags = re.sub('-arch\s+\w+\s', ' ', flags) flags = re.sub('-isysroot [^ \t]*', ' ', flags) _save_modified_value(_config_vars, cv, flags) return _config_vars def _remove_unsupported_archs(_config_vars): """Remove any unsupported archs from config vars""" # Different Xcode releases support different sets for '-arch' # flags. In particular, Xcode 4.x no longer supports the # PPC architectures. # # This code automatically removes '-arch ppc' and '-arch ppc64' # when these are not supported. That makes it possible to # build extensions on OSX 10.7 and later with the prebuilt # 32-bit installer on the python.org website. # skip checks if the compiler was overridden with a CC env variable if 'CC' in os.environ: return _config_vars if re.search('-arch\s+ppc', _config_vars['CFLAGS']) is not None: # NOTE: Cannot use subprocess here because of bootstrap # issues when building Python itself status = os.system( """echo 'int main{};' | """ """'%s' -c -arch ppc -x c -o /dev/null /dev/null 2>/dev/null""" %(_config_vars['CC'].replace("'", "'\"'\"'"),)) if status: # The compile failed for some reason. Because of differences # across Xcode and compiler versions, there is no reliable way # to be sure why it failed. Assume here it was due to lack of # PPC support and remove the related '-arch' flags from each # config variables not explicitly overridden by an environment # variable. If the error was for some other reason, we hope the # failure will show up again when trying to compile an extension # module. for cv in _UNIVERSAL_CONFIG_VARS: if cv in _config_vars and cv not in os.environ: flags = _config_vars[cv] flags = re.sub('-arch\s+ppc\w*\s', ' ', flags) _save_modified_value(_config_vars, cv, flags) return _config_vars def _override_all_archs(_config_vars): """Allow override of all archs with ARCHFLAGS env var""" # NOTE: This name was introduced by Apple in OSX 10.5 and # is used by several scripting languages distributed with # that OS release. if 'ARCHFLAGS' in os.environ: arch = os.environ['ARCHFLAGS'] for cv in _UNIVERSAL_CONFIG_VARS: if cv in _config_vars and '-arch' in _config_vars[cv]: flags = _config_vars[cv] flags = re.sub('-arch\s+\w+\s', ' ', flags) flags = flags + ' ' + arch _save_modified_value(_config_vars, cv, flags) return _config_vars def _check_for_unavailable_sdk(_config_vars): """Remove references to any SDKs not available""" # If we're on OSX 10.5 or later and the user tries to # compile an extension using an SDK that is not present # on the current machine it is better to not use an SDK # than to fail. This is particularly important with # the standalone Command Line Tools alternative to a # full-blown Xcode install since the CLT packages do not # provide SDKs. If the SDK is not present, it is assumed # that the header files and dev libs have been installed # to /usr and /System/Library by either a standalone CLT # package or the CLT component within Xcode. cflags = _config_vars.get('CFLAGS', '') m = re.search(r'-isysroot\s+(\S+)', cflags) if m is not None: sdk = m.group(1) if not os.path.exists(sdk): for cv in _UNIVERSAL_CONFIG_VARS: # Do not alter a config var explicitly overridden by env var if cv in _config_vars and cv not in os.environ: flags = _config_vars[cv] flags = re.sub(r'-isysroot\s+\S+(?:\s|$)', ' ', flags) _save_modified_value(_config_vars, cv, flags) return _config_vars def compiler_fixup(compiler_so, cc_args): """ This function will strip '-isysroot PATH' and '-arch ARCH' from the compile flags if the user has specified one them in extra_compile_flags. This is needed because '-arch ARCH' adds another architecture to the build, without a way to remove an architecture. Furthermore GCC will barf if multiple '-isysroot' arguments are present. """ stripArch = stripSysroot = False compiler_so = list(compiler_so) if not _supports_universal_builds(): # OSX before 10.4.0, these don't support -arch and -isysroot at # all. stripArch = stripSysroot = True else: stripArch = '-arch' in cc_args stripSysroot = '-isysroot' in cc_args if stripArch or 'ARCHFLAGS' in os.environ: while True: try: index = compiler_so.index('-arch') # Strip this argument and the next one: del compiler_so[index:index+2] except ValueError: break if 'ARCHFLAGS' in os.environ and not stripArch: # User specified different -arch flags in the environ, # see also distutils.sysconfig compiler_so = compiler_so + os.environ['ARCHFLAGS'].split() if stripSysroot: while True: try: index = compiler_so.index('-isysroot') # Strip this argument and the next one: del compiler_so[index:index+2] except ValueError: break # Check if the SDK that is used during compilation actually exists, # the universal build requires the usage of a universal SDK and not all # users have that installed by default. sysroot = None if '-isysroot' in cc_args: idx = cc_args.index('-isysroot') sysroot = cc_args[idx+1] elif '-isysroot' in compiler_so: idx = compiler_so.index('-isysroot') sysroot = compiler_so[idx+1] if sysroot and not os.path.isdir(sysroot): from distutils import log log.warn("Compiling with an SDK that doesn't seem to exist: %s", sysroot) log.warn("Please check your Xcode installation") return compiler_so def customize_config_vars(_config_vars): """Customize Python build configuration variables. Called internally from sysconfig with a mutable mapping containing name/value pairs parsed from the configured makefile used to build this interpreter. Returns the mapping updated as needed to reflect the environment in which the interpreter is running; in the case of a Python from a binary installer, the installed environment may be very different from the build environment, i.e. different OS levels, different built tools, different available CPU architectures. This customization is performed whenever distutils.sysconfig.get_config_vars() is first called. It may be used in environments where no compilers are present, i.e. when installing pure Python dists. Customization of compiler paths and detection of unavailable archs is deferred until the first extension module build is requested (in distutils.sysconfig.customize_compiler). Currently called from distutils.sysconfig """ if not _supports_universal_builds(): # On Mac OS X before 10.4, check if -arch and -isysroot # are in CFLAGS or LDFLAGS and remove them if they are. # This is needed when building extensions on a 10.3 system # using a universal build of python. _remove_universal_flags(_config_vars) # Allow user to override all archs with ARCHFLAGS env var _override_all_archs(_config_vars) # Remove references to sdks that are not found _check_for_unavailable_sdk(_config_vars) return _config_vars def customize_compiler(_config_vars): """Customize compiler path and configuration variables. This customization is performed when the first extension module build is requested in distutils.sysconfig.customize_compiler). """ # Find a compiler to use for extension module builds _find_appropriate_compiler(_config_vars) # Remove ppc arch flags if not supported here _remove_unsupported_archs(_config_vars) # Allow user to override all archs with ARCHFLAGS env var _override_all_archs(_config_vars) return _config_vars def get_platform_osx(_config_vars, osname, release, machine): """Filter values for get_platform()""" # called from get_platform() in sysconfig and distutils.util # # For our purposes, we'll assume that the system version from # distutils' perspective is what MACOSX_DEPLOYMENT_TARGET is set # to. This makes the compatibility story a bit more sane because the # machine is going to compile and link as if it were # MACOSX_DEPLOYMENT_TARGET. macver = _config_vars.get('MACOSX_DEPLOYMENT_TARGET', '') macrelease = _get_system_version() or macver macver = macver or macrelease if macver: release = macver osname = "macosx" # Use the original CFLAGS value, if available, so that we # return the same machine type for the platform string. # Otherwise, distutils may consider this a cross-compiling # case and disallow installs. cflags = _config_vars.get(_INITPRE+'CFLAGS', _config_vars.get('CFLAGS', '')) if macrelease: try: macrelease = tuple(int(i) for i in macrelease.split('.')[0:2]) except ValueError: macrelease = (10, 0) else: # assume no universal support macrelease = (10, 0) if (macrelease >= (10, 4)) and '-arch' in cflags.strip(): # The universal build will build fat binaries, but not on # systems before 10.4 machine = 'fat' archs = re.findall('-arch\s+(\S+)', cflags) archs = tuple(sorted(set(archs))) if len(archs) == 1: machine = archs[0] elif archs == ('i386', 'ppc'): machine = 'fat' elif archs == ('i386', 'x86_64'): machine = 'intel' elif archs == ('i386', 'ppc', 'x86_64'): machine = 'fat3' elif archs == ('ppc64', 'x86_64'): machine = 'fat64' elif archs == ('i386', 'ppc', 'ppc64', 'x86_64'): machine = 'universal' else: raise ValueError( "Don't know machine value for archs=%r" % (archs,)) elif machine == 'i386': # On OSX the machine type returned by uname is always the # 32-bit variant, even if the executable architecture is # the 64-bit variant if sys.maxint >= 2**32: machine = 'x86_64' elif machine in ('PowerPC', 'Power_Macintosh'): # Pick a sane name for the PPC architecture. # See 'i386' case if sys.maxint >= 2**32: machine = 'ppc64' else: machine = 'ppc' return (osname, release, machine)
Save
cmd:
run