mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-12 21:33:54 -05:00
Compare commits
738 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fab6a0fcd1 | ||
|
|
c4968f7a48 | ||
|
|
d0e9cd7d7e | ||
|
|
3185dee8a2 | ||
|
|
05615587d0 | ||
|
|
132179d0ca | ||
|
|
b6cdfcf5dc | ||
|
|
c78f079078 | ||
|
|
2767461235 | ||
|
|
20432dda88 | ||
|
|
f27e3ebb94 | ||
|
|
7718afbca2 | ||
|
|
28766056b2 | ||
|
|
dbf8b2fb65 | ||
|
|
aaec35859d | ||
|
|
54f7944ae2 | ||
|
|
96bfa1532d | ||
|
|
ebd6c1aee3 | ||
|
|
a8f8f0ae0c | ||
|
|
a50d0492b3 | ||
|
|
a6dbb11dca | ||
|
|
43abe13db9 | ||
|
|
465bd1f3e8 | ||
|
|
96be89835e | ||
|
|
3428431aef | ||
|
|
8841f7788d | ||
|
|
8da3749648 | ||
|
|
94bce8abf8 | ||
|
|
f62ee1a4db | ||
|
|
e7b0d99601 | ||
|
|
5fb9c84e14 | ||
|
|
d138f5f5e4 | ||
|
|
3ddedc021a | ||
|
|
a22adc77eb | ||
|
|
a3ff3adc39 | ||
|
|
2dcb9d0611 | ||
|
|
a6cb4b6317 | ||
|
|
2f917312f1 | ||
|
|
d1f8081d1c | ||
|
|
63671a1479 | ||
|
|
d7ca2aba2a | ||
|
|
2c4dd63f77 | ||
|
|
06e4f1b682 | ||
|
|
825de5d2e3 | ||
|
|
6e3dd80f15 | ||
|
|
d5a5cd1aae | ||
|
|
195942f22e | ||
|
|
daaa1aab6d | ||
|
|
8f87f43e22 | ||
|
|
c30e096a54 | ||
|
|
3405c4d03c | ||
|
|
09b18cf6f5 | ||
|
|
fcedf169fb | ||
|
|
14655a43c8 | ||
|
|
8c3cab61c7 | ||
|
|
6296bf3f8b | ||
|
|
9ca7de5b6c | ||
|
|
3d1c38f1a8 | ||
|
|
12ad6f670b | ||
|
|
9163c46568 | ||
|
|
204ded5a55 | ||
|
|
3937dc3618 | ||
|
|
8f25eabbbc | ||
|
|
cb65df8bec | ||
|
|
0daf04a71b | ||
|
|
52544e6956 | ||
|
|
39a6b097f7 | ||
|
|
f19ab5fea2 | ||
|
|
6c3dd0a24f | ||
|
|
c18a3f9042 | ||
|
|
f6c1e5220a | ||
|
|
d740406daf | ||
|
|
7026e529c7 | ||
|
|
e80886e9be | ||
|
|
6e02b944f7 | ||
|
|
bb129a782b | ||
|
|
d508822f9a | ||
|
|
6913fee89a | ||
|
|
074161f9c1 | ||
|
|
2b0f16757a | ||
|
|
7b289bcee6 | ||
|
|
8dcd715ede | ||
|
|
dcca61c0bc | ||
|
|
155012911c | ||
|
|
bdfe6d383f | ||
|
|
efdba2d76b | ||
|
|
0f44c57d08 | ||
|
|
efb187f26f | ||
|
|
c101052a7f | ||
|
|
51a1ee06e4 | ||
|
|
8a0555f8ef | ||
|
|
55f692ba9c | ||
|
|
3a265c1af9 | ||
|
|
c43928a8e4 | ||
|
|
c6cf4e18b8 | ||
|
|
19c02bf39c | ||
|
|
d462e158e2 | ||
|
|
3ecc94fa38 | ||
|
|
53bc95314c | ||
|
|
db325cc66d | ||
|
|
28c40ece8d | ||
|
|
34f938fdb9 | ||
|
|
e034c80388 | ||
|
|
948d1f4ca7 | ||
|
|
438e828eb5 | ||
|
|
e52ed97fff | ||
|
|
43eb33e929 | ||
|
|
10ab381fb6 | ||
|
|
c452da8084 | ||
|
|
e6090f00f3 | ||
|
|
9e664b5d27 | ||
|
|
6868d3053a | ||
|
|
10d3123caa | ||
|
|
2d16c638e9 | ||
|
|
3ae068b492 | ||
|
|
824f7e6b21 | ||
|
|
5d247793e6 | ||
|
|
ed700c0185 | ||
|
|
193e64b6b2 | ||
|
|
5ba585769b | ||
|
|
5540e235ab | ||
|
|
c9268bb0dc | ||
|
|
5ddc14704c | ||
|
|
5fcb4cf0bf | ||
|
|
0f288f2462 | ||
|
|
0c81c97926 | ||
|
|
5ff089de9c | ||
|
|
459725df3c | ||
|
|
ec3b7d815d | ||
|
|
afe86aef52 | ||
|
|
461ae27a19 | ||
|
|
c0f691fc57 | ||
|
|
ffc899475a | ||
|
|
57d1c9d6be | ||
|
|
9d488c9760 | ||
|
|
3db1ac13d2 | ||
|
|
880fa46156 | ||
|
|
24ad375a35 | ||
|
|
7f32e96c28 | ||
|
|
294738842c | ||
|
|
ce671398f8 | ||
|
|
a3bea25ddc | ||
|
|
1a66a9141b | ||
|
|
78c1d7186d | ||
|
|
9b60d73ec8 | ||
|
|
8a9d2557a0 | ||
|
|
2a79db00b0 | ||
|
|
3e7839c5b7 | ||
|
|
3b6faa8531 | ||
|
|
e3982fae38 | ||
|
|
493f036928 | ||
|
|
af438abeae | ||
|
|
36c5cbf74f | ||
|
|
608ad6f9d0 | ||
|
|
7a6eb38a36 | ||
|
|
cd40335ba4 | ||
|
|
26450fd0ab | ||
|
|
22ecefd572 | ||
|
|
abae52ae20 | ||
|
|
114063495f | ||
|
|
7b797c3797 | ||
|
|
8e276a009e | ||
|
|
4198280142 | ||
|
|
83ac0fbd94 | ||
|
|
46fbc5414a | ||
|
|
43b28caa94 | ||
|
|
5cb9c9af2e | ||
|
|
d6230578ec | ||
|
|
62bf3d9b61 | ||
|
|
55e6e7143a | ||
|
|
1e78acb701 | ||
|
|
648afe05a9 | ||
|
|
9aee57d965 | ||
|
|
ed684c239c | ||
|
|
fe934642c5 | ||
|
|
7c4c1757f7 | ||
|
|
1b066598ce | ||
|
|
cc94ad39f1 | ||
|
|
c754efc44b | ||
|
|
46ffb0c8df | ||
|
|
70cce28ba3 | ||
|
|
9156191168 | ||
|
|
5402ce423b | ||
|
|
2ea2e7558d | ||
|
|
9d8da866f1 | ||
|
|
70fa356585 | ||
|
|
31fb290de2 | ||
|
|
4ea7d0849b | ||
|
|
e285f2e5b1 | ||
|
|
1d31529b46 | ||
|
|
6f40dae3d7 | ||
|
|
d2794f54e5 | ||
|
|
bc03106cee | ||
|
|
bf93b90282 | ||
|
|
7b8bd11416 | ||
|
|
f623231734 | ||
|
|
481198d255 | ||
|
|
50d5de4731 | ||
|
|
15977c852d | ||
|
|
5b9e4f0584 | ||
|
|
10d5d9a24f | ||
|
|
06c1959e78 | ||
|
|
be037932ca | ||
|
|
af95960960 | ||
|
|
17c153b1c1 | ||
|
|
065f5578b1 | ||
|
|
71c9ff565b | ||
|
|
88270e83e8 | ||
|
|
b09681c9fb | ||
|
|
80eef69c9a | ||
|
|
bc025641c2 | ||
|
|
0cd078bae6 | ||
|
|
5dc3ee95fd | ||
|
|
4903223f23 | ||
|
|
1aea75055a | ||
|
|
f30085eaf4 | ||
|
|
43d311ef58 | ||
|
|
239f4a6b51 | ||
|
|
1463968a3f | ||
|
|
97c6a4c932 | ||
|
|
5131ef521b | ||
|
|
1d7ce651b0 | ||
|
|
c335f96eac | ||
|
|
f0eeac63a3 | ||
|
|
4ebe18a273 | ||
|
|
ab2aa6d13b | ||
|
|
431761d125 | ||
|
|
e6e858c33b | ||
|
|
e9aa6cf649 | ||
|
|
7ad01b2b48 | ||
|
|
8c6b764a4c | ||
|
|
4e30b1a5e1 | ||
|
|
2beef3c455 | ||
|
|
797975b742 | ||
|
|
527334b401 | ||
|
|
050f750563 | ||
|
|
292813eca3 | ||
|
|
d935a2a994 | ||
|
|
d9a7117c3b | ||
|
|
6596657004 | ||
|
|
f48a5b11d7 | ||
|
|
4d72eefffc | ||
|
|
b6ac87c220 | ||
|
|
6b908bf39f | ||
|
|
f87d8762eb | ||
|
|
c54fa3731f | ||
|
|
efe461d2b4 | ||
|
|
4540967250 | ||
|
|
d14357f64c | ||
|
|
d6e1de3e2f | ||
|
|
063717e6b5 | ||
|
|
4d0c289287 | ||
|
|
52bb0dcfcf | ||
|
|
5a05788e61 | ||
|
|
48335302d9 | ||
|
|
98953c2e14 | ||
|
|
9ae8ba8a29 | ||
|
|
1a7f49d2f0 | ||
|
|
70c6d3f67e | ||
|
|
9146f44db1 | ||
|
|
b9ae43a9df | ||
|
|
f6a77549eb | ||
|
|
cbd246acff | ||
|
|
9d21169ee0 | ||
|
|
7bceb85067 | ||
|
|
eeb69b1b79 | ||
|
|
b155380a06 | ||
|
|
cd60df52af | ||
|
|
6820704c91 | ||
|
|
8abefe1fcb | ||
|
|
b22fcd9759 | ||
|
|
55341f4436 | ||
|
|
45df273592 | ||
|
|
dbd50e7bd9 | ||
|
|
1c0a5d8264 | ||
|
|
7c7cca8a26 | ||
|
|
123b3af1a0 | ||
|
|
ba9c01ce77 | ||
|
|
7535efe031 | ||
|
|
995da2df89 | ||
|
|
f28b3ee123 | ||
|
|
97b957d5d5 | ||
|
|
fe2412c95d | ||
|
|
5114600c4d | ||
|
|
96d3bd6379 | ||
|
|
e8433cfeb3 | ||
|
|
7f88eabd0b | ||
|
|
c9a96c9f79 | ||
|
|
3a5c2cabb1 | ||
|
|
871ec77795 | ||
|
|
7e0e85bdda | ||
|
|
d1a0398fdb | ||
|
|
67f429c41d | ||
|
|
632263568e | ||
|
|
bf39d88d11 | ||
|
|
07d675350f | ||
|
|
39cde6fc95 | ||
|
|
1381c2ca79 | ||
|
|
89d4e8a0e0 | ||
|
|
a8df5d587c | ||
|
|
e2173df4aa | ||
|
|
e851250da6 | ||
|
|
c69d9a1128 | ||
|
|
f4652fbbf0 | ||
|
|
3ee395f9b5 | ||
|
|
e4cbf04592 | ||
|
|
6bb7f07d2d | ||
|
|
51bd975820 | ||
|
|
294cff3fd4 | ||
|
|
a6e0785b84 | ||
|
|
302b317b89 | ||
|
|
8facb3b3a7 | ||
|
|
b5622bee3a | ||
|
|
3f74da0e73 | ||
|
|
68b92a7f5d | ||
|
|
8bac958994 | ||
|
|
5287e2ebf4 | ||
|
|
284588f9b4 | ||
|
|
16c7eb4135 | ||
|
|
9bcef4b875 | ||
|
|
f237a11f4f | ||
|
|
13a474c4e9 | ||
|
|
fe0b2436b8 | ||
|
|
808527b5d0 | ||
|
|
f71e22768c | ||
|
|
b025dfcf58 | ||
|
|
f205ec8359 | ||
|
|
f50cee2ac7 | ||
|
|
3be9773c4f | ||
|
|
2fd3b18d39 | ||
|
|
024bee1a6f | ||
|
|
5c1094adb9 | ||
|
|
14bc162ca6 | ||
|
|
1a6bada94c | ||
|
|
eda535a942 | ||
|
|
1e1c9cb0dc | ||
|
|
3dc0005032 | ||
|
|
6d0bf9b39f | ||
|
|
2f5d9a6f90 | ||
|
|
783618b89c | ||
|
|
4f2f6f8575 | ||
|
|
59aca30267 | ||
|
|
605e691bff | ||
|
|
09ec276a85 | ||
|
|
590b19a1b1 | ||
|
|
be5e1a4ded | ||
|
|
8650de0c0c | ||
|
|
95a039aaaa | ||
|
|
f1fdb9bbc8 | ||
|
|
44e76bea23 | ||
|
|
a898e2a534 | ||
|
|
681435e0b4 | ||
|
|
d2eace00c9 | ||
|
|
3300587c6b | ||
|
|
878bd87328 | ||
|
|
ff23666d56 | ||
|
|
f4fade3d26 | ||
|
|
16c3e0ddac | ||
|
|
0d216c2d82 | ||
|
|
a1fb5b1153 | ||
|
|
e97326845c | ||
|
|
71a6d791c2 | ||
|
|
5ae2cac088 | ||
|
|
31fab8cdae | ||
|
|
5bfec84432 | ||
|
|
caa4a8e228 | ||
|
|
bdcc2e1790 | ||
|
|
749f21e482 | ||
|
|
1cc75362d6 | ||
|
|
a2adc61c6f | ||
|
|
c7208bf1ff | ||
|
|
db143bb654 | ||
|
|
8b043038b8 | ||
|
|
5130b41f5b | ||
|
|
81bb14e181 | ||
|
|
e93ab45dc3 | ||
|
|
060f141b21 | ||
|
|
6ca591ab75 | ||
|
|
bc1049f5ae | ||
|
|
05568496c1 | ||
|
|
ab9ebb9d0d | ||
|
|
ab197ef51e | ||
|
|
7fc5f46bbb | ||
|
|
969af1567a | ||
|
|
7a10b64cf7 | ||
|
|
f6db678b20 | ||
|
|
97290b2442 | ||
|
|
b8504ed2a9 | ||
|
|
497911d6c0 | ||
|
|
4d96d0a6c6 | ||
|
|
9b58b6642e | ||
|
|
45f651ab00 | ||
|
|
400fe31061 | ||
|
|
4b6ab0389b | ||
|
|
baf7656d2f | ||
|
|
382db59cd0 | ||
|
|
2bbf49b2f5 | ||
|
|
6a6ae8ae46 | ||
|
|
03fa148e81 | ||
|
|
ea3203dbab | ||
|
|
a81ace2ccb | ||
|
|
a7da06998e | ||
|
|
5e5e3e0588 | ||
|
|
bc369fb1ab | ||
|
|
bb6bccb782 | ||
|
|
1fe59e41ea | ||
|
|
0d1f1d09f0 | ||
|
|
13f36e0416 | ||
|
|
e3f72ebae2 | ||
|
|
98f45695db | ||
|
|
3cb95b4d2d | ||
|
|
892aea138e | ||
|
|
045f6c1bce | ||
|
|
1d4261a997 | ||
|
|
da80bced53 | ||
|
|
1d687ac734 | ||
|
|
bef7a12964 | ||
|
|
14ff078b85 | ||
|
|
cd940bd797 | ||
|
|
093809eac6 | ||
|
|
c56f72794e | ||
|
|
9375e99f92 | ||
|
|
b66eeaf2f7 | ||
|
|
c6855e01a9 | ||
|
|
7f975a37f9 | ||
|
|
41cfa5f3d0 | ||
|
|
9c45206c28 | ||
|
|
308aa42b67 | ||
|
|
5174d14d5c | ||
|
|
6fe338e563 | ||
|
|
266d896871 | ||
|
|
7e85ae7bd2 | ||
|
|
9a284a3da4 | ||
|
|
871f0e26df | ||
|
|
e56885f4c9 | ||
|
|
149f4b4607 | ||
|
|
80750f730f | ||
|
|
253f6ee1d9 | ||
|
|
bac149e824 | ||
|
|
3ec34448fa | ||
|
|
919c4240fc | ||
|
|
44c2378f2a | ||
|
|
377b176260 | ||
|
|
d2a8ca7d89 | ||
|
|
d4faae187a | ||
|
|
5e52fae7c1 | ||
|
|
b974bf54dc | ||
|
|
4b6c91e827 | ||
|
|
51467dc4a3 | ||
|
|
eb79a3edaa | ||
|
|
37eca782cc | ||
|
|
19666f2598 | ||
|
|
3436bddaea | ||
|
|
5cc6b0e3d3 | ||
|
|
2b21e22e97 | ||
|
|
57df945738 | ||
|
|
e2e474c59d | ||
|
|
4c19dc22d7 | ||
|
|
ef44b4ccac | ||
|
|
8ee2f2657a | ||
|
|
f635c8715c | ||
|
|
3ceeb72ac6 | ||
|
|
e0b8938fef | ||
|
|
811ca05916 | ||
|
|
df9bbd7ab3 | ||
|
|
339e331f1d | ||
|
|
283e67b57e | ||
|
|
6c1fb9ffd0 | ||
|
|
c3fe192243 | ||
|
|
1ebcbd92e2 | ||
|
|
3060578e3b | ||
|
|
b8715bfee6 | ||
|
|
7fe9231e64 | ||
|
|
9289af0132 | ||
|
|
1f7722088d | ||
|
|
e548877ead | ||
|
|
21391c8d2f | ||
|
|
99551dd1ec | ||
|
|
b5a26936e8 | ||
|
|
cf28136003 | ||
|
|
349236c932 | ||
|
|
0ce6fad14e | ||
|
|
0a9e2baef1 | ||
|
|
da562ad74c | ||
|
|
d45dc17f25 | ||
|
|
7f1aefa09b | ||
|
|
2162054659 | ||
|
|
0ff3ca8a12 | ||
|
|
47c8a0e0b8 | ||
|
|
2a347226df | ||
|
|
962452d6d1 | ||
|
|
2df165c49e | ||
|
|
fc3a634e22 | ||
|
|
01a9141780 | ||
|
|
f783b9ec0d | ||
|
|
b745a51f30 | ||
|
|
02332d78f3 | ||
|
|
183c780698 | ||
|
|
406c8e0303 | ||
|
|
6778c8e905 | ||
|
|
3a94daeaf8 | ||
|
|
e5c64db280 | ||
|
|
d3700dfd70 | ||
|
|
975b45dbfe | ||
|
|
a49b07975c | ||
|
|
5e57ab95ce | ||
|
|
9c43fa9161 | ||
|
|
9b286ecbfd | ||
|
|
b7e9569ccb | ||
|
|
e922131422 | ||
|
|
34813ef32c | ||
|
|
e899f1d31c | ||
|
|
d1bfeee334 | ||
|
|
9ea1f7d53e | ||
|
|
f40bc773d2 | ||
|
|
5d0a6630b9 | ||
|
|
114b81c9a4 | ||
|
|
b10bdb1e78 | ||
|
|
ee5ad02d42 | ||
|
|
cd2094ff71 | ||
|
|
5052a4161c | ||
|
|
7fbcde8af0 | ||
|
|
b670849ebd | ||
|
|
288c6b3f09 | ||
|
|
802d70568c | ||
|
|
c4721169e3 | ||
|
|
efe600f6de | ||
|
|
7e83e07cf3 | ||
|
|
65f0be0c20 | ||
|
|
adf9c97616 | ||
|
|
dfc7645609 | ||
|
|
9dde161b65 | ||
|
|
0324b118ee | ||
|
|
4cc6665d0a | ||
|
|
be7dcc0ad8 | ||
|
|
01a0ad0b69 | ||
|
|
2bbe2099eb | ||
|
|
e49be969ab | ||
|
|
fb0ec9e157 | ||
|
|
525c960dea | ||
|
|
ddd4db1b05 | ||
|
|
7a929b8a84 | ||
|
|
2cd12e3fa6 | ||
|
|
4965a1d1f7 | ||
|
|
dc1f583903 | ||
|
|
500c6de37c | ||
|
|
88e59647ae | ||
|
|
53d45707ca | ||
|
|
828051e651 | ||
|
|
149e61a649 | ||
|
|
4712db8edd | ||
|
|
7ba843c585 | ||
|
|
26a08c6d12 | ||
|
|
72b62e13aa | ||
|
|
09d912895f | ||
|
|
ada26ab92e | ||
|
|
058e2cb7a6 | ||
|
|
a3d3005859 | ||
|
|
c954d57555 | ||
|
|
0a4ffcd15f | ||
|
|
65bf6279fa | ||
|
|
07815769ae | ||
|
|
a3deeba0a0 | ||
|
|
10084ae020 | ||
|
|
8ce5e84c21 | ||
|
|
f9fb3c934e | ||
|
|
eae5e5e092 | ||
|
|
a238099e38 | ||
|
|
7d9989ff58 | ||
|
|
699cd8c203 | ||
|
|
096743acde | ||
|
|
0c7c62dc04 | ||
|
|
2b5fb40b99 | ||
|
|
96b98ed039 | ||
|
|
789ace54ec | ||
|
|
d289998250 | ||
|
|
5cf661517b | ||
|
|
c6c6ebaf40 | ||
|
|
94d87211f9 | ||
|
|
919fc872c8 | ||
|
|
305db1c35b | ||
|
|
568cd4b23e | ||
|
|
b4f8906b24 | ||
|
|
465a1472ba | ||
|
|
3644840d4b | ||
|
|
03d664e048 | ||
|
|
61830048d5 | ||
|
|
69d596f56f | ||
|
|
4923838981 | ||
|
|
f1ca8906c0 | ||
|
|
43520db389 | ||
|
|
d50ce90a36 | ||
|
|
6da85246c6 | ||
|
|
eefd5ea47d | ||
|
|
964c12fe27 | ||
|
|
0632325a43 | ||
|
|
2e3e141d2e | ||
|
|
c36950a7cb | ||
|
|
8f6b0bc1d4 | ||
|
|
7ac964353f | ||
|
|
c6ce8fafd8 | ||
|
|
6fa81ef28d | ||
|
|
e5c0fd22e1 | ||
|
|
96679b7715 | ||
|
|
ed9f69fe23 | ||
|
|
fb6eee26d4 | ||
|
|
1ba2ce0cb6 | ||
|
|
76929320c8 | ||
|
|
5ad45afe5e | ||
|
|
b81b64453b | ||
|
|
db2a94d4bc | ||
|
|
579a398e4e | ||
|
|
783a5700c4 | ||
|
|
63f29341d5 | ||
|
|
555472210b | ||
|
|
39497042bc | ||
|
|
837bfc5aa9 | ||
|
|
042794b651 | ||
|
|
d14529461b | ||
|
|
c928ba7a21 | ||
|
|
75f65a980b | ||
|
|
5130f0464a | ||
|
|
bff38d7e71 | ||
|
|
f9225d9cb4 | ||
|
|
5a4bee6eb5 | ||
|
|
a6727bf9ed | ||
|
|
aade3ad781 | ||
|
|
af36d449bf | ||
|
|
5be66da9f4 | ||
|
|
53d55eb08c | ||
|
|
506bc3634f | ||
|
|
1d5c6531a2 | ||
|
|
20425c297f | ||
|
|
174e101799 | ||
|
|
113e037646 | ||
|
|
1411fa5a16 | ||
|
|
7bbfecd9af | ||
|
|
09291712ed | ||
|
|
b7e19b4953 | ||
|
|
49ecbe147f | ||
|
|
b45bce80ca | ||
|
|
3cd08f7c09 | ||
|
|
71b5965540 | ||
|
|
1700206da8 | ||
|
|
6d6b1d6002 | ||
|
|
dd8a005c7d | ||
|
|
3efdf6a243 | ||
|
|
bd1e56ff37 | ||
|
|
e43a2039a5 | ||
|
|
8dd666992e | ||
|
|
01ddcd7f1d | ||
|
|
a14095f299 | ||
|
|
1ed231cb21 | ||
|
|
7a0cde9a4e | ||
|
|
83ced494fa | ||
|
|
8685c899ba | ||
|
|
6938692ca2 | ||
|
|
b4c100e149 | ||
|
|
398e963312 | ||
|
|
aae721c5f1 | ||
|
|
5c11f14c9b | ||
|
|
dfe9889327 | ||
|
|
192dc23998 | ||
|
|
6c468d6166 | ||
|
|
bfa71017ae | ||
|
|
066d63c0df | ||
|
|
7c8da88df6 | ||
|
|
06bf3a351a | ||
|
|
f8f49fd565 | ||
|
|
77964fb83e | ||
|
|
b4a91648eb | ||
|
|
e8d010f33c | ||
|
|
a804b5eb21 | ||
|
|
71493e8065 | ||
|
|
5394347500 | ||
|
|
f2f8ef88a5 | ||
|
|
3f3992d95a | ||
|
|
bd0e1a73f9 | ||
|
|
2a495dc9ac | ||
|
|
2fa7432060 | ||
|
|
9f18fe5031 | ||
|
|
cd24495045 | ||
|
|
1235cbd0ef | ||
|
|
f84dc27c58 | ||
|
|
4ee92fca43 | ||
|
|
00b8b4db33 | ||
|
|
917b3687cb | ||
|
|
4714b5bd4e | ||
|
|
271bfea97d | ||
|
|
70e1f61337 | ||
|
|
df61a76ab0 | ||
|
|
fffb29d695 | ||
|
|
7ce04a6e03 | ||
|
|
f904d1b92f | ||
|
|
ccf7c29fc4 | ||
|
|
e4a040f1e0 | ||
|
|
3b13dc9c14 | ||
|
|
5d8c40444d | ||
|
|
df034f5d35 | ||
|
|
f7c463bed9 | ||
|
|
4e79ba15f7 | ||
|
|
2099355ad5 | ||
|
|
c3089c8439 | ||
|
|
67d3d6b12d | ||
|
|
b6ebc2f08b | ||
|
|
e0e2d93639 | ||
|
|
a9837f3a06 | ||
|
|
4668a2e2ed | ||
|
|
a62bd23ba2 | ||
|
|
d257b562e5 | ||
|
|
652135db7f | ||
|
|
86362408f1 | ||
|
|
735a2bc4e7 | ||
|
|
044eb6c802 | ||
|
|
643817fa1c | ||
|
|
d65141c7b5 | ||
|
|
15356aebc6 | ||
|
|
eccdec3740 | ||
|
|
6df306d8f8 | ||
|
|
55ce7850ad | ||
|
|
ce8d3278a4 | ||
|
|
06228d3583 | ||
|
|
ad2c605d3f | ||
|
|
43624943ee | ||
|
|
8f9a34d9b1 | ||
|
|
c957d83b3a | ||
|
|
41c5ac5a33 | ||
|
|
e9881119d8 | ||
|
|
355e7c1c96 | ||
|
|
8246dc8d8a | ||
|
|
fb31290b9d | ||
|
|
4acefd6ef9 | ||
|
|
0c66f62c17 | ||
|
|
b5d030bee7 | ||
|
|
6ec91083d8 | ||
|
|
af6b06743b | ||
|
|
1da746543f | ||
|
|
99035a49a9 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,4 +6,4 @@
|
|||||||
/libexec/*.dylib
|
/libexec/*.dylib
|
||||||
/src/Makefile
|
/src/Makefile
|
||||||
/src/*.o
|
/src/*.o
|
||||||
bats/
|
/bats/
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
install: git clone https://github.com/sstephenson/bats.git
|
sudo: false
|
||||||
|
install: git clone --depth 1 https://github.com/sstephenson/bats.git
|
||||||
script: make test
|
script: make test
|
||||||
language: c
|
language: c
|
||||||
env:
|
env:
|
||||||
|
|||||||
122
CHANGELOG.md
122
CHANGELOG.md
@@ -1,5 +1,125 @@
|
|||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
|
### 20151210
|
||||||
|
|
||||||
|
+ pyenv: Add a default hook for Anaconda to look for original `$PATH` (#491)
|
||||||
|
+ pyenv: Skip virtualenv aliases on `pyenv versions --skip-aliases` (yyuu/pyenv-virtualenv#126)
|
||||||
|
+ python-build: Add CPython 2.7.11, 3.5.1 (#494, #498)
|
||||||
|
+ python-build: Update OpenSSL to 1.0.1q (#496)
|
||||||
|
+ python-build: Adding SSL patch to build 2.7.3 on Debian (#495)
|
||||||
|
|
||||||
|
### 20151124
|
||||||
|
|
||||||
|
* pyenv: Import recent changes from rbenv 5fb9c84e14c8123b2591d22e248f045c7f8d8a2c
|
||||||
|
* pyenv: List anaconda-style virtual environments as a version in pyenv (#471)
|
||||||
|
* python-build: Import recent changes from ruby-build v20151028
|
||||||
|
* python-build: Add PyPy 4.0.1 (#489)
|
||||||
|
* python-build: Add `miniconda*-3.18.3` (#477)
|
||||||
|
* python-build: Add CPython 2.7.11 RC1
|
||||||
|
|
||||||
|
### 20151105
|
||||||
|
|
||||||
|
* python-build: Add anaconda2-2.4.0 and anacondaa3-2.4.0
|
||||||
|
* python-biuld: Add Portable PyPy 4.0 (#472)
|
||||||
|
|
||||||
|
### 20151103
|
||||||
|
|
||||||
|
* python-build: Add PyPy 4.0.0 (#463)
|
||||||
|
* python-build: Add Jython 2.7.1b2
|
||||||
|
* python-build: Add warning about setuptools issues on CPython 3.0.1 on OS X (#456)
|
||||||
|
|
||||||
|
### 20151006
|
||||||
|
|
||||||
|
* pyenv: Different behaviour when invoking .py script through symlink (#379, #404)
|
||||||
|
* pyenv: Enabled Gitter on the project (#436, #444)
|
||||||
|
* python-build: Add Jython 2.7.1b1
|
||||||
|
* python-build: Install OpenSSL on OS X if no proper versionn is available (#429)
|
||||||
|
|
||||||
|
### 20150913
|
||||||
|
|
||||||
|
* python-build: Add CPython 3.5.0
|
||||||
|
* python-build: Remove CPython 3.5.0 release candidates
|
||||||
|
* python-build: Fixed anaconda3 repo's paths (#439)
|
||||||
|
* python-build: Add miniconda-3.16.0 and miniconda3-3.16.0 (#435)
|
||||||
|
|
||||||
|
### 20150901
|
||||||
|
|
||||||
|
* python-build: Add CPython 3.5.0 release candidates; 3.5.0rc1 and 3.5.0rc2
|
||||||
|
* python-build: Disabled `_FORTITY_SOURCE` to fix CPython >= 2.4, <= 2.4.3 builds (#422)
|
||||||
|
* python-build: Removed CPython 3.5.0 betas
|
||||||
|
* python-build: Add miniconda-3.10.1 and miniconda3-3.10.1 (#414)
|
||||||
|
* python-build: Add PyPy 2.6.1 (#433)
|
||||||
|
* python-build: Add PyPy-STM 2.3 and 2.5.1 (#428)
|
||||||
|
* python-build: Ignore user's site-packages on ensurepip/get-pip (#411)
|
||||||
|
* pyenv: Import recent changes from ruby-build v20150818
|
||||||
|
|
||||||
|
#### 20150719
|
||||||
|
|
||||||
|
* python-build: Add CPython `3.6-dev` (#413)
|
||||||
|
* python-build: Add Anaconda/Anaconda3 2.3.0
|
||||||
|
* python-build: Fix download URL of portable PyPy 2.6 (fixes #389)
|
||||||
|
* python-build: Use custom `MACOSX_DEPLOYMENT_TARGET` if defined (#312)
|
||||||
|
* python-build: Use original CPython repository instead of mirror at bitbucket.org as the source of `*-dev` versions (#409)
|
||||||
|
* python-build: Pin pip version to 1.5.6 for python 3.1.5 (#351)
|
||||||
|
|
||||||
|
#### 20150601
|
||||||
|
|
||||||
|
* python-build: Add PyPy 2.6.0
|
||||||
|
* python-build: Add PyPy 2.5.1 portable
|
||||||
|
* python-build: Add CPython 3.5.0 beta releases; 3.5.0b1 and 3.5.0b2
|
||||||
|
* python-build: Removed CPython 3.5.0 alpha releases
|
||||||
|
* python-build: Fix inverted condition for `--altinstall` of ensurepip (#255)
|
||||||
|
* python-build: Skip installing `setuptools` by `ez_setup.py` explicitly (fixes #381)
|
||||||
|
* python-build: Import changes from ruby-build v20150519
|
||||||
|
|
||||||
|
#### 20150524
|
||||||
|
|
||||||
|
* pyenv: Improve `pyenv version`, if there is one missing (#290)
|
||||||
|
* pyenv: Improve pip-rehash to handle versions in command, like `pip2` and `pip3.4` (#368)
|
||||||
|
* python-build: Add CPython release; 2.7.10 (#380)
|
||||||
|
* python-build: Add Miniconda/Miniconda3 3.9.1 and Anaconda/Anaconda3 2.2.0 (#375, #376)
|
||||||
|
|
||||||
|
#### 20150504
|
||||||
|
|
||||||
|
* python-build: Add Jython 2.7.0
|
||||||
|
* python-build: Add CPython alpha release; 3.5.0a4
|
||||||
|
* python-build: Add CPython 3.1, 3.1.1, and 3.1.2
|
||||||
|
* python-build: Fix pip version to 1.5.6 for CPython 3.1.x (#351)
|
||||||
|
|
||||||
|
#### 20150326
|
||||||
|
|
||||||
|
* python-build: Add Portable PyPy binaries from https://github.com/squeaky-pl/portable-pypy (#329)
|
||||||
|
* python-build: Add CPython alpha release; 3.5.0a2 (#328)
|
||||||
|
* python-build: Add pypy-2.5.1 (fixes #338)
|
||||||
|
* pyenv: Import recent changes from rbenv 4d72eefffc548081f6eee2e54d3b9116b9f9ee8e
|
||||||
|
|
||||||
|
#### 20150226
|
||||||
|
|
||||||
|
* python-build: Add CPython release; 3.4.3 (#323)
|
||||||
|
* python-build: Add CPython alpha release; 3.5.0a1 (#324)
|
||||||
|
* python-build: Add Miniconda/Miniconda3 3.8.3 (#318)
|
||||||
|
|
||||||
|
#### 20150204
|
||||||
|
|
||||||
|
* python-build: Add PyPy 2.5.0 release (#311)
|
||||||
|
* python-build: Add note about `--enable-shared` and RPATH (#217)
|
||||||
|
* python-build: Fix regression of `PYTHON_MAKE_INSTALL_TARGET` and add test (#255)
|
||||||
|
* python-build: Symlink `pythonX.Y-config` to `python-config` if `python-config` is missing (#296)
|
||||||
|
* python-build: Latest `pip` can't be installed into `3.0.1` (#309)
|
||||||
|
|
||||||
|
#### 20150124
|
||||||
|
|
||||||
|
* python-build: Import recent changes from ruby-build v20150112
|
||||||
|
* python-build: Prevent adding `/Library/Python/X.X/site-packages` to `sys.path` whtn `--enable-framework` is enabled on OS X. Thanks @s1341 (#292)
|
||||||
|
* python-build: Add new IronPython release; 2.7.5
|
||||||
|
|
||||||
|
#### 20141211
|
||||||
|
|
||||||
|
* pyenv: Add bulit-in `pip-rehash` feature. You don't need to install [pyenv-pip-rehash](https://github.com/yyuu/pyenv-pip-rehash) anymore.
|
||||||
|
* python-build: Add new CPython release; 2.7.9 (#284)
|
||||||
|
* python-build: Add new PyPy releases; pypy3-2.4.0, pypy3-2.4.0-src (#277)
|
||||||
|
* python-build: Add build definitions of PyPy nightly build
|
||||||
|
|
||||||
#### 20141127
|
#### 20141127
|
||||||
|
|
||||||
* python-build: Add new CPython release candidates; 2.7.9rc1 (#276)
|
* python-build: Add new CPython release candidates; 2.7.9rc1 (#276)
|
||||||
@@ -196,7 +316,7 @@
|
|||||||
|
|
||||||
#### 0.4.0-20130726
|
#### 0.4.0-20130726
|
||||||
|
|
||||||
* pyenv: Fix minor issue of variable scope in `pyenv versions`
|
* pyenv: Fix minor issue of variable scope in `pyenv versions`
|
||||||
* python-build: Update base version to ruby-build v20130628
|
* python-build: Update base version to ruby-build v20130628
|
||||||
* python-build: Use brew managed OpenSSL and GNU Readline if they are available
|
* python-build: Use brew managed OpenSSL and GNU Readline if they are available
|
||||||
* python-build: Fix build of CPython 3.3+ on OS X (#29)
|
* python-build: Fix build of CPython 3.3+ on OS X (#29)
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -1,5 +1,9 @@
|
|||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
|
# Do not pass in user flags to build tests.
|
||||||
|
unexport PYTHON_CFLAGS
|
||||||
|
unexport PYTHON_CONFIGURE_OPTS
|
||||||
|
|
||||||
test: bats
|
test: bats
|
||||||
PATH="./bats/bin:$$PATH" test/run
|
PATH="./bats/bin:$$PATH" test/run
|
||||||
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
|
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
|
||||||
|
|||||||
138
README.md
138
README.md
@@ -1,15 +1,17 @@
|
|||||||
# Simple Python Version Management: pyenv
|
# Simple Python Version Management: pyenv
|
||||||
|
|
||||||
[](https://travis-ci.org/yyuu/pyenv)
|
[](https://gitter.im/yyuu/pyenv?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
|
[](https://travis-ci.org/yyuu/pyenv)
|
||||||
|
|
||||||
pyenv lets you easily switch between multiple versions of Python. It's
|
pyenv lets you easily switch between multiple versions of Python. It's
|
||||||
simple, unobtrusive, and follows the UNIX tradition of single-purpose
|
simple, unobtrusive, and follows the UNIX tradition of single-purpose
|
||||||
tools that do one thing well.
|
tools that do one thing well.
|
||||||
|
|
||||||
This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
This project was forked from [rbenv](https://github.com/rbenv/rbenv) and
|
||||||
[ruby-build](https://github.com/sstephenson/ruby-build), and modified for Python.
|
[ruby-build](https://github.com/rbenv/ruby-build), and modified for Python.
|
||||||
|
|
||||||
<img src="http://gyazo.com/9c829fafdf5e58880c820349c4e9197e.png?1346414267" width="849" height="454" />
|
<img src="https://i.gyazo.com/699a58927b77e46e71cd674c7fc7a78d.png" width="735" height="490" />
|
||||||
|
|
||||||
|
|
||||||
### pyenv _does..._
|
### pyenv _does..._
|
||||||
@@ -19,7 +21,7 @@ This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
|||||||
* Allow you to **override the Python version** with an environment
|
* Allow you to **override the Python version** with an environment
|
||||||
variable.
|
variable.
|
||||||
* Search commands from **multiple versions of Python at a time**.
|
* Search commands from **multiple versions of Python at a time**.
|
||||||
This may be helpful to test across Python versions with [tox](http://pypi.python.org/pypi/tox).
|
This may be helpful to test across Python versions with [tox](https://pypi.python.org/pypi/tox).
|
||||||
|
|
||||||
|
|
||||||
### In contrast with pythonbrew and pythonz, pyenv _does not..._
|
### In contrast with pythonbrew and pythonz, pyenv _does not..._
|
||||||
@@ -28,7 +30,7 @@ This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
|||||||
There is no bootstrap problem of Python.
|
There is no bootstrap problem of Python.
|
||||||
* **Need to be loaded into your shell.** Instead, pyenv's shim
|
* **Need to be loaded into your shell.** Instead, pyenv's shim
|
||||||
approach works by adding a directory to your `$PATH`.
|
approach works by adding a directory to your `$PATH`.
|
||||||
* **Manage virtualenv.** Of course, you can create [virtualenv](http://pypi.python.org/pypi/virtualenv)
|
* **Manage virtualenv.** Of course, you can create [virtualenv](https://pypi.python.org/pypi/virtualenv)
|
||||||
yourself, or [pyenv-virtualenv](https://github.com/yyuu/pyenv-virtualenv)
|
yourself, or [pyenv-virtualenv](https://github.com/yyuu/pyenv-virtualenv)
|
||||||
to automate the process.
|
to automate the process.
|
||||||
|
|
||||||
@@ -47,7 +49,7 @@ This project was forked from [rbenv](https://github.com/sstephenson/rbenv) and
|
|||||||
* [Basic GitHub Checkout](#basic-github-checkout)
|
* [Basic GitHub Checkout](#basic-github-checkout)
|
||||||
* [Upgrading](#upgrading)
|
* [Upgrading](#upgrading)
|
||||||
* [Homebrew on Mac OS X](#homebrew-on-mac-os-x)
|
* [Homebrew on Mac OS X](#homebrew-on-mac-os-x)
|
||||||
* [Neckbeard Configuration](#neckbeard-configuration)
|
* [Advanced Configuration](#advanced-configuration)
|
||||||
* [Uninstalling Python Versions](#uninstalling-python-versions)
|
* [Uninstalling Python Versions](#uninstalling-python-versions)
|
||||||
* **[Command Reference](#command-reference)**
|
* **[Command Reference](#command-reference)**
|
||||||
* **[Development](#development)**
|
* **[Development](#development)**
|
||||||
@@ -109,26 +111,33 @@ When you execute a shim, pyenv determines which Python version to use by
|
|||||||
reading it from the following sources, in this order:
|
reading it from the following sources, in this order:
|
||||||
|
|
||||||
1. The `PYENV_VERSION` environment variable (if specified). You can use
|
1. The `PYENV_VERSION` environment variable (if specified). You can use
|
||||||
the [`pyenv shell`](#pyenv-shell) command to set this environment
|
the [`pyenv shell`](https://github.com/yyuu/pyenv/blob/master/COMMANDS.md#pyenv-shell) command to set this environment
|
||||||
variable in your current shell session.
|
variable in your current shell session.
|
||||||
|
|
||||||
2. The application-specific `.python-version` file in the current
|
2. The application-specific `.python-version` file in the current
|
||||||
directory (if present). You can modify the current directory's
|
directory (if present). You can modify the current directory's
|
||||||
`.python-version` file with the [`pyenv local`](#pyenv-local)
|
`.python-version` file with the [`pyenv local`](https://github.com/yyuu/pyenv/blob/master/COMMANDS.md#pyenv-local)
|
||||||
command.
|
command.
|
||||||
|
|
||||||
3. The first `.python-version` file found (if any) by searching each parent
|
3. The first `.python-version` file found (if any) by searching each parent
|
||||||
directory, until reaching the root of your filesystem.
|
directory, until reaching the root of your filesystem.
|
||||||
|
|
||||||
4. The global `~/.pyenv/version` file. You can modify this file using
|
4. The global `~/.pyenv/version` file. You can modify this file using
|
||||||
the [`pyenv global`](#pyenv-global) command. If the global version
|
the [`pyenv global`](https://github.com/yyuu/pyenv/blob/master/COMMANDS.md#pyenv-global) command. If the global version
|
||||||
file is not present, pyenv assumes you want to use the "system"
|
file is not present, pyenv assumes you want to use the "system"
|
||||||
Python. (In other words, whatever version would run if pyenv weren't in your
|
Python. (In other words, whatever version would run if pyenv weren't in your
|
||||||
`PATH`.)
|
`PATH`.)
|
||||||
|
|
||||||
**NOTE:** You can activate multiple versions at the same time, e.g. `pyenv
|
**NOTE:** You can activate multiple versions at the same time, including multiple
|
||||||
global 3.4.2 2.7.8`. This allows for parallel usage of python2 and python3,
|
versions of Python2 or Python3 simultaneously. This allows for parallel usage of
|
||||||
and is required with tools like `tox`.
|
Python2 and Python3, and is required with tools like `tox`. For example, to set
|
||||||
|
your path to first use your `system` Python and Python3 (set to 2.7.9 and 3.4.2
|
||||||
|
in this example), but also have Python 3.3.6, 3.2, and 2.5 available on your
|
||||||
|
`PATH`, one would first `pyenv install` the missing versions, then set `pyenv
|
||||||
|
global system 3.3.6 3.2 2.5`. At this point, one should be able to find the full
|
||||||
|
executable path to each of these using `pyenv which`, e.g. `pyenv which python2.5`
|
||||||
|
(should display `$PYENV_ROOT/versions/2.5/bin/python2.5`), or `pyenv which
|
||||||
|
python3.4` (should display path to system Python3).
|
||||||
|
|
||||||
### Locating the Python Installation
|
### Locating the Python Installation
|
||||||
|
|
||||||
@@ -171,8 +180,7 @@ easy to fork and contribute any changes back upstream.
|
|||||||
1. **Check out pyenv where you want it installed.**
|
1. **Check out pyenv where you want it installed.**
|
||||||
A good place to choose is `$HOME/.pyenv` (but you can install it somewhere else).
|
A good place to choose is `$HOME/.pyenv` (but you can install it somewhere else).
|
||||||
|
|
||||||
$ cd
|
$ git clone https://github.com/yyuu/pyenv.git ~/.pyenv
|
||||||
$ git clone git://github.com/yyuu/pyenv.git .pyenv
|
|
||||||
|
|
||||||
|
|
||||||
2. **Define environment variable `PYENV_ROOT`** to point to the path where
|
2. **Define environment variable `PYENV_ROOT`** to point to the path where
|
||||||
@@ -186,13 +194,15 @@ easy to fork and contribute any changes back upstream.
|
|||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
||||||
|
Please make sure `eval "$(pyenv init -)"` is placed toward the end of the shell
|
||||||
|
configuration file since it manipulates `PATH` during the initialization.
|
||||||
|
|
||||||
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
||||||
|
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
**General warning**: There are some systems, where the `BASH_ENV` variable is configured
|
**General warning**: There are some systems where the `BASH_ENV` variable is configured
|
||||||
to point to `.bashrc`. On such systems you should almost certainly put the abovementioned line
|
to point to `.bashrc`. On such systems you should almost certainly put the abovementioned line
|
||||||
`eval "$(pyenv init -)` into `.bash_profile`, and **not** into `.bashrc`. Otherwise you
|
`eval "$(pyenv init -)` into `.bash_profile`, and **not** into `.bashrc`. Otherwise you
|
||||||
may observe strange behaviour, such as `pyenv` getting into an infinite loop.
|
may observe strange behaviour, such as `pyenv` getting into an infinite loop.
|
||||||
@@ -204,12 +214,15 @@ easy to fork and contribute any changes back upstream.
|
|||||||
$ exec $SHELL
|
$ exec $SHELL
|
||||||
|
|
||||||
5. **Install Python versions into `$PYENV_ROOT/versions`.**
|
5. **Install Python versions into `$PYENV_ROOT/versions`.**
|
||||||
For example, to install Python 2.7.8, download and unpack the source, then run:
|
For example, to download and install Python 2.7.8, run:
|
||||||
|
|
||||||
$ pyenv install 2.7.8
|
$ pyenv install 2.7.8
|
||||||
|
|
||||||
**NOTE:** If you need to pass configure option to build, please use
|
**NOTE:** If you need to pass configure option to build, please use
|
||||||
```CONFIGURE_OPTS``` environment variable.
|
```CONFIGURE_OPTS``` environment variable.
|
||||||
|
|
||||||
|
**NOTE:** If you want to use proxy to download, please use `http_proxy` and `https_proxy`
|
||||||
|
environment variable.
|
||||||
|
|
||||||
**NOTE:** If you are having trouble installing a python version,
|
**NOTE:** If you are having trouble installing a python version,
|
||||||
please visit the wiki page about
|
please visit the wiki page about
|
||||||
@@ -244,6 +257,31 @@ To upgrade to a specific release of pyenv, check out the corresponding tag:
|
|||||||
v0.1.0
|
v0.1.0
|
||||||
$ git checkout v0.1.0
|
$ git checkout v0.1.0
|
||||||
|
|
||||||
|
### Uninstalling pyenv
|
||||||
|
|
||||||
|
The simplicity of pyenv makes it easy to temporarily disable it, or
|
||||||
|
uninstall from the system.
|
||||||
|
|
||||||
|
1. To **disable** pyenv managing your Python versions, simply remove the
|
||||||
|
`pyenv init` line from your shell startup configuration. This will
|
||||||
|
remove pyenv shims directory from PATH, and future invocations like
|
||||||
|
`python` will execute the system Python version, as before pyenv.
|
||||||
|
|
||||||
|
`pyenv` will still be accessible on the command line, but your Python
|
||||||
|
apps won't be affected by version switching.
|
||||||
|
|
||||||
|
2. To completely **uninstall** pyenv, perform step (1) and then remove
|
||||||
|
its root directory. This will **delete all Python versions** that were
|
||||||
|
installed under `` `pyenv root`/versions/ `` directory:
|
||||||
|
|
||||||
|
rm -rf `pyenv root`
|
||||||
|
|
||||||
|
If you've installed pyenv using a package manager, as a final step
|
||||||
|
perform the pyenv package removal. For instance, for Homebrew:
|
||||||
|
|
||||||
|
brew uninstall pyenv
|
||||||
|
|
||||||
|
## Command Reference
|
||||||
|
|
||||||
### Homebrew on Mac OS X
|
### Homebrew on Mac OS X
|
||||||
|
|
||||||
@@ -254,14 +292,13 @@ package manager for Mac OS X.
|
|||||||
$ brew install pyenv
|
$ brew install pyenv
|
||||||
|
|
||||||
|
|
||||||
To upgrade pyenv in the future, just use `upgrade` instead of `install`.
|
To upgrade pyenv in the future, use `upgrade` instead of `install`.
|
||||||
|
|
||||||
After installation, you'll still need to add `eval "$(pyenv init -)"` to your
|
After installation, you'll need to add `eval "$(pyenv init -)"` to your profile (as stated in the caveats displayed by Homebrew — to display them again, use `brew info pyenv`). You only need to add that to your profile once.
|
||||||
profile (as stated in the caveats). You'll only ever have to do this
|
|
||||||
once.
|
|
||||||
|
|
||||||
|
Then follow the rest of the post-installation steps under "Basic GitHub Checkout" above, starting with #4 ("restart your shell so the path changes take effect").
|
||||||
|
|
||||||
### Neckbeard Configuration
|
### Advanced Configuration
|
||||||
|
|
||||||
Skip this section unless you must know what every line in your shell
|
Skip this section unless you must know what every line in your shell
|
||||||
profile is doing.
|
profile is doing.
|
||||||
@@ -316,43 +353,32 @@ See [COMMANDS.md](COMMANDS.md).
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
|
## Environment variables
|
||||||
|
|
||||||
|
You can affect how pyenv operates with the following settings:
|
||||||
|
|
||||||
|
name | default | description
|
||||||
|
-----|---------|------------
|
||||||
|
`PYENV_VERSION` | | Specifies the Python version to be used.<br>Also see [`pyenv shell`](#pyenv-shell)
|
||||||
|
`PYENV_ROOT` | `~/.pyenv` | Defines the directory under which Python versions and shims reside.<br>Also see `pyenv root`
|
||||||
|
`PYENV_DEBUG` | | Outputs debug information.<br>Also as: `pyenv --debug <subcommand>`
|
||||||
|
`PYENV_HOOK_PATH` | [_see wiki_][hooks] | Colon-separated list of paths searched for pyenv hooks.
|
||||||
|
`PYENV_DIR` | `$PWD` | Directory to start searching for `.python-version` files.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
The pyenv source code is [hosted on GitHub](https://github.com/yyuu/pyenv).
|
The pyenv source code is [hosted on
|
||||||
It's clean, modular, and easy to understand--even if you're not a shell hacker.
|
GitHub](https://github.com/yyuu/pyenv). It's clean, modular,
|
||||||
|
and easy to understand, even if you're not a shell hacker.
|
||||||
|
|
||||||
Please feel free to submit Pull Requests and report bugs on the
|
Tests are executed using [Bats](https://github.com/sstephenson/bats):
|
||||||
[issue tracker](https://github.com/yyuu/pyenv/issues).
|
|
||||||
|
$ bats test
|
||||||
|
$ bats/test/<file>.bats
|
||||||
|
|
||||||
|
Please feel free to submit pull requests and file bugs on the [issue
|
||||||
|
tracker](https://github.com/yyuu/pyenv/issues).
|
||||||
|
|
||||||
|
|
||||||
### Version History
|
[pyenv-virtualenv]: https://github.com/yyuu/pyenv-virtualenv#readme
|
||||||
|
[hooks]: https://github.com/yyuu/pyenv/wiki/Authoring-plugins#pyenv-hooks
|
||||||
See [CHANGELOG.md](CHANGELOG.md).
|
|
||||||
|
|
||||||
|
|
||||||
### License
|
|
||||||
|
|
||||||
(The MIT license)
|
|
||||||
|
|
||||||
* Copyright (c) 2013 Yamashita, Yuu
|
|
||||||
* Copyright (c) 2013 Sam Stephenson
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|||||||
@@ -12,21 +12,24 @@ if [ -n "$PYENV_DEBUG" ]; then
|
|||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if enable -f "${0%/*}"/../libexec/pyenv-realpath.dylib realpath 2>/dev/null; then
|
abort() {
|
||||||
|
{ if [ "$#" -eq 0 ]; then cat -
|
||||||
|
else echo "pyenv: $*"
|
||||||
|
fi
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
if enable -f "${BASH_SOURCE%/*}"/../libexec/pyenv-realpath.dylib realpath 2>/dev/null; then
|
||||||
abs_dirname() {
|
abs_dirname() {
|
||||||
local path="$(realpath "$1")"
|
local path="$(realpath "$1")"
|
||||||
echo "${path%/*}"
|
echo "${path%/*}"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if [ -n "$PYENV_NATIVE_EXT" ]; then
|
[ -z "$PYENV_NATIVE_EXT" ] || abort "failed to load \`realpath' builtin"
|
||||||
echo "pyenv: failed to load \`realpath' builtin" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
READLINK=$(type -p greadlink readlink | head -1)
|
READLINK=$(type -p greadlink readlink | head -1)
|
||||||
if [ -z "$READLINK" ]; then
|
[ -n "$READLINK" ] || abort "cannot find readlink - are you missing GNU coreutils?"
|
||||||
echo "pyenv: cannot find readlink - are you missing GNU coreutils?" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
resolve_link() {
|
resolve_link() {
|
||||||
$READLINK "$1"
|
$READLINK "$1"
|
||||||
@@ -54,13 +57,23 @@ else
|
|||||||
fi
|
fi
|
||||||
export PYENV_ROOT
|
export PYENV_ROOT
|
||||||
|
|
||||||
|
# Transfer PYENV_FILE_ARG (from shims) into PYENV_DIR.
|
||||||
|
if [ -z "${PYENV_DIR}" ]; then
|
||||||
|
if [ -n "${PYENV_FILE_ARG}" ]; then
|
||||||
|
if [ -L "${PYENV_FILE_ARG}" ]; then
|
||||||
|
PYENV_DIR="$(abs_dirname "${PYENV_FILE_ARG}")"
|
||||||
|
else
|
||||||
|
PYENV_DIR="${PYENV_FILE_ARG%/*}"
|
||||||
|
fi
|
||||||
|
export PYENV_DIR
|
||||||
|
unset PYENV_FILE_ARG
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "${PYENV_DIR}" ]; then
|
if [ -z "${PYENV_DIR}" ]; then
|
||||||
PYENV_DIR="$(pwd)"
|
PYENV_DIR="$(pwd)"
|
||||||
else
|
else
|
||||||
cd "$PYENV_DIR" 2>/dev/null || {
|
cd "$PYENV_DIR" 2>/dev/null || abort "cannot change working directory to \`$PYENV_DIR'"
|
||||||
echo "pyenv: cannot change working directory to \`$PYENV_DIR'"
|
|
||||||
exit 1
|
|
||||||
} >&2
|
|
||||||
PYENV_DIR="$(pwd)"
|
PYENV_DIR="$(pwd)"
|
||||||
cd "$OLDPWD"
|
cd "$OLDPWD"
|
||||||
fi
|
fi
|
||||||
@@ -91,20 +104,26 @@ shopt -u nullglob
|
|||||||
|
|
||||||
command="$1"
|
command="$1"
|
||||||
case "$command" in
|
case "$command" in
|
||||||
"" | "-h" | "--help" )
|
"" )
|
||||||
echo -e "$(pyenv---version)\n$(pyenv-help)" >&2
|
{ pyenv---version
|
||||||
|
pyenv-help
|
||||||
|
} | abort
|
||||||
;;
|
;;
|
||||||
"-v" )
|
-v | --version )
|
||||||
exec pyenv---version
|
exec pyenv---version
|
||||||
;;
|
;;
|
||||||
|
-h | --help )
|
||||||
|
exec pyenv-help
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
command_path="$(command -v "pyenv-$command" || true)"
|
command_path="$(command -v "pyenv-$command" || true)"
|
||||||
if [ -z "$command_path" ]; then
|
[ -n "$command_path" ] || abort "no such command \`$command'"
|
||||||
echo "pyenv: no such command \`$command'" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
shift 1
|
shift 1
|
||||||
exec "$command_path" "$@"
|
if [ "$1" = --help ]; then
|
||||||
|
exec pyenv-help "$command"
|
||||||
|
else
|
||||||
|
exec "$command_path" "$@"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -12,11 +12,15 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
version="20141211"
|
version="20151210"
|
||||||
|
git_revision=""
|
||||||
|
|
||||||
if cd "$PYENV_ROOT" 2>/dev/null; then
|
for source_dir in "${BASH_SOURCE%/*}" "$PYENV_ROOT"; do
|
||||||
git_revision="$(git describe --tags HEAD 2>/dev/null || true)"
|
if cd "$source_dir" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then
|
||||||
git_revision="${git_revision#v}"
|
git_revision="$(git describe --tags HEAD 2>/dev/null || true)"
|
||||||
fi
|
git_revision="${git_revision#v}"
|
||||||
|
[ -z "$git_revision" ] || break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
echo "pyenv ${git_revision:-$version}"
|
echo "pyenv ${git_revision:-$version}"
|
||||||
|
|||||||
@@ -10,7 +10,16 @@ if [ -z "$COMMAND" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Provide pyenv completions
|
||||||
|
if [ "$COMMAND" = "--complete" ]; then
|
||||||
|
exec pyenv-commands
|
||||||
|
fi
|
||||||
|
|
||||||
COMMAND_PATH="$(command -v "pyenv-$COMMAND" || command -v "pyenv-sh-$COMMAND")"
|
COMMAND_PATH="$(command -v "pyenv-$COMMAND" || command -v "pyenv-sh-$COMMAND")"
|
||||||
|
|
||||||
|
# --help is provided automatically
|
||||||
|
echo --help
|
||||||
|
|
||||||
if grep -iE "^([#%]|--|//) provide pyenv completions" "$COMMAND_PATH" >/dev/null; then
|
if grep -iE "^([#%]|--|//) provide pyenv completions" "$COMMAND_PATH" >/dev/null; then
|
||||||
shift
|
shift
|
||||||
exec "$COMMAND_PATH" --complete "$@"
|
exec "$COMMAND_PATH" --complete "$@"
|
||||||
|
|||||||
@@ -15,6 +15,12 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
# Provide pyenv completions
|
||||||
|
if [ "$1" = "--complete" ]; then
|
||||||
|
echo --usage
|
||||||
|
exec pyenv-commands
|
||||||
|
fi
|
||||||
|
|
||||||
command_path() {
|
command_path() {
|
||||||
local command="$1"
|
local command="$1"
|
||||||
command -v pyenv-"$command" || command -v pyenv-sh-"$command" || true
|
command -v pyenv-"$command" || command -v pyenv-sh-"$command" || true
|
||||||
|
|||||||
@@ -35,16 +35,17 @@ resolve_link() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
realpath() {
|
realpath() {
|
||||||
local cwd="$(pwd)"
|
local cwd="$PWD"
|
||||||
local path="$1"
|
local path="$1"
|
||||||
|
local name
|
||||||
|
|
||||||
while [ -n "$path" ]; do
|
while [ -n "$path" ]; do
|
||||||
cd "${path%/*}"
|
name="${path##*/}"
|
||||||
local name="${path##*/}"
|
[ "$name" = "$path" ] || cd "${path%/*}"
|
||||||
path="$(resolve_link "$name" || true)"
|
path="$(resolve_link "$name" || true)"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "$(pwd)/$name"
|
echo "${PWD}/$name"
|
||||||
cd "$cwd"
|
cd "$cwd"
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -5,6 +5,17 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
# Provide pyenv completions
|
||||||
|
if [ "$1" = "--complete" ]; then
|
||||||
|
echo -
|
||||||
|
echo --no-rehash
|
||||||
|
echo bash
|
||||||
|
echo fish
|
||||||
|
echo ksh
|
||||||
|
echo zsh
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
print=""
|
print=""
|
||||||
no_rehash=""
|
no_rehash=""
|
||||||
for args in "$@"
|
for args in "$@"
|
||||||
@@ -25,7 +36,8 @@ if [ -z "$shell" ]; then
|
|||||||
shell="$(ps c -p "$PPID" -o 'ucomm=' 2>/dev/null || true)"
|
shell="$(ps c -p "$PPID" -o 'ucomm=' 2>/dev/null || true)"
|
||||||
shell="${shell##-}"
|
shell="${shell##-}"
|
||||||
shell="${shell%% *}"
|
shell="${shell%% *}"
|
||||||
shell="$(basename "${shell:-$SHELL}")"
|
shell="${shell:-$SHELL}"
|
||||||
|
shell="${shell##*/}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
root="${0%/*}/.."
|
root="${0%/*}/.."
|
||||||
@@ -33,7 +45,11 @@ root="${0%/*}/.."
|
|||||||
if [ -z "$print" ]; then
|
if [ -z "$print" ]; then
|
||||||
case "$shell" in
|
case "$shell" in
|
||||||
bash )
|
bash )
|
||||||
profile='~/.bash_profile'
|
if [ -f "${HOME}/.bashrc" ] && [ ! -f "${HOME}/.bash_profile" ]; then
|
||||||
|
profile='~/.bashrc'
|
||||||
|
else
|
||||||
|
profile='~/.bash_profile'
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
zsh )
|
zsh )
|
||||||
profile='~/.zshrc'
|
profile='~/.zshrc'
|
||||||
@@ -49,7 +65,7 @@ if [ -z "$print" ]; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
{ echo "# Load pyenv automatically by adding"
|
{ echo "# Load pyenv automatically by appending"
|
||||||
echo "# the following to ${profile}:"
|
echo "# the following to ${profile}:"
|
||||||
echo
|
echo
|
||||||
case "$shell" in
|
case "$shell" in
|
||||||
@@ -88,7 +104,7 @@ if [ -r "$completion" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$no_rehash" ]; then
|
if [ -z "$no_rehash" ]; then
|
||||||
echo 'pyenv rehash 2>/dev/null'
|
echo 'command pyenv rehash 2>/dev/null'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
commands=(`pyenv-commands --sh`)
|
commands=(`pyenv-commands --sh`)
|
||||||
@@ -101,7 +117,7 @@ function pyenv
|
|||||||
|
|
||||||
switch "\$command"
|
switch "\$command"
|
||||||
case ${commands[*]}
|
case ${commands[*]}
|
||||||
eval (pyenv "sh-\$command" \$argv)
|
. (pyenv "sh-\$command" \$argv|psub)
|
||||||
case '*'
|
case '*'
|
||||||
command pyenv "\$command" \$argv
|
command pyenv "\$command" \$argv
|
||||||
end
|
end
|
||||||
@@ -132,7 +148,7 @@ cat <<EOS
|
|||||||
|
|
||||||
case "\$command" in
|
case "\$command" in
|
||||||
${commands[*]})
|
${commands[*]})
|
||||||
eval "\`pyenv "sh-\$command" "\$@"\`";;
|
eval "\$(pyenv "sh-\$command" "\$@")";;
|
||||||
*)
|
*)
|
||||||
command pyenv "\$command" "\$@";;
|
command pyenv "\$command" "\$@";;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ OLDIFS="$IFS"
|
|||||||
{ IFS=:
|
{ IFS=:
|
||||||
for version in ${PYENV_VERSION}; do
|
for version in ${PYENV_VERSION}; do
|
||||||
if [ "$version" = "system" ]; then
|
if [ "$version" = "system" ]; then
|
||||||
if PYTHON_PATH="$(pyenv-which python 2>/dev/null)"; then
|
if PYTHON_PATH="$(PYENV_VERSION="${version}" pyenv-which python 2>/dev/null)"; then
|
||||||
PYENV_PREFIX_PATH="${PYTHON_PATH%/bin/*}"
|
PYENV_PREFIX_PATH="${PYTHON_PATH%/bin/*}"
|
||||||
else
|
else
|
||||||
echo "pyenv: system version not found in PATH" >&2
|
echo "pyenv: system version not found in PATH" >&2
|
||||||
|
|||||||
@@ -46,13 +46,13 @@ set -e
|
|||||||
[ -n "\$PYENV_DEBUG" ] && set -x
|
[ -n "\$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
program="\${0##*/}"
|
program="\${0##*/}"
|
||||||
if [ "\$program" = "python" ]; then
|
if [[ "\$program" = "python"* ]]; then
|
||||||
for arg; do
|
for arg; do
|
||||||
case "\$arg" in
|
case "\$arg" in
|
||||||
-c* | -- ) break ;;
|
-c* | -- ) break ;;
|
||||||
*/* )
|
*/* )
|
||||||
if [ -f "\$arg" ]; then
|
if [ -f "\$arg" ]; then
|
||||||
export PYENV_DIR="\${arg%/*}"
|
export PYENV_FILE_ARG="\$arg"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@@ -81,9 +81,12 @@ remove_outdated_shims() {
|
|||||||
|
|
||||||
# List basenames of executables for every Python version
|
# List basenames of executables for every Python version
|
||||||
list_executable_names() {
|
list_executable_names() {
|
||||||
local file
|
local version file
|
||||||
for file in "$PYENV_ROOT"/versions/*/bin/*; do
|
pyenv-versions --bare --skip-aliases | \
|
||||||
echo "${file##*/}"
|
while read version; do
|
||||||
|
for file in "${PYENV_ROOT}/versions/${version}/bin/"*; do
|
||||||
|
echo "${file##*/}"
|
||||||
|
done
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -110,7 +113,7 @@ install_registered_shims() {
|
|||||||
local shim file
|
local shim file
|
||||||
for shim in $registered_shims; do
|
for shim in $registered_shims; do
|
||||||
file="${SHIM_PATH}/${shim}"
|
file="${SHIM_PATH}/${shim}"
|
||||||
[ -e "$file" ] || ln -f "$PROTOTYPE_SHIM_PATH" "$file"
|
[ -e "$file" ] || cp "$PROTOTYPE_SHIM_PATH" "$file"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,13 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
|
exitcode=0
|
||||||
OLDIFS="$IFS"
|
OLDIFS="$IFS"
|
||||||
IFS=: PYENV_VERSION_NAMES=($(pyenv-version-name))
|
IFS=: PYENV_VERSION_NAMES=($(pyenv-version-name)) || exitcode=$?
|
||||||
IFS="$OLDIFS"
|
IFS="$OLDIFS"
|
||||||
|
|
||||||
for PYENV_VERSION_NAME in "${PYENV_VERSION_NAMES[@]}"; do
|
for PYENV_VERSION_NAME in "${PYENV_VERSION_NAMES[@]}"; do
|
||||||
echo "$PYENV_VERSION_NAME (set by $(pyenv-version-origin))"
|
echo "$PYENV_VERSION_NAME (set by $(pyenv-version-origin))"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
exit $exitcode
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ set -e
|
|||||||
|
|
||||||
find_local_version_file() {
|
find_local_version_file() {
|
||||||
local root="$1"
|
local root="$1"
|
||||||
while [ -n "$root" ]; do
|
while true; do
|
||||||
|
[[ "$root" =~ ^//[^/]*$ ]] && break
|
||||||
if [ -e "${root}/.python-version" ]; then
|
if [ -e "${root}/.python-version" ]; then
|
||||||
echo "${root}/.python-version"
|
echo "${root}/.python-version"
|
||||||
exit
|
exit
|
||||||
@@ -13,7 +14,7 @@ find_local_version_file() {
|
|||||||
echo "${root}/.pyenv-version"
|
echo "${root}/.pyenv-version"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
[ "${root}" = "${root%/*}" ] && break
|
[ -n "$root" ] || break
|
||||||
root="${root%/*}"
|
root="${root%/*}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ if [ -e "$VERSION_FILE" ]; then
|
|||||||
# Read the first non-whitespace word from the specified version file.
|
# Read the first non-whitespace word from the specified version file.
|
||||||
# Be careful not to load it whole in case there's something crazy in it.
|
# Be careful not to load it whole in case there's something crazy in it.
|
||||||
IFS="${IFS}"$'\r'
|
IFS="${IFS}"$'\r'
|
||||||
words=( $(cut -b 1-1024 "$VERSION_FILE" | $(type -p gawk awk | head -1) '{ print($1) }') )
|
words=($(cut -b 1-1024 "$VERSION_FILE" | sed 's/^\s*\(\S\+\).*/\1/'))
|
||||||
versions=("${words[@]}")
|
versions=("${words[@]}")
|
||||||
|
|
||||||
if [ -n "$versions" ]; then
|
if [ -n "$versions" ]; then
|
||||||
|
|||||||
@@ -21,17 +21,15 @@ version_exists() {
|
|||||||
versions=()
|
versions=()
|
||||||
OLDIFS="$IFS"
|
OLDIFS="$IFS"
|
||||||
{ IFS=:
|
{ IFS=:
|
||||||
|
any_not_installed=0
|
||||||
for version in ${PYENV_VERSION}; do
|
for version in ${PYENV_VERSION}; do
|
||||||
if version_exists "$version" || [ "$version" = "system" ]; then
|
if version_exists "$version" || [ "$version" = "system" ]; then
|
||||||
versions=("${versions[@]}" "${version}")
|
versions=("${versions[@]}" "${version}")
|
||||||
elif version_exists "${version#python-}"; then
|
elif version_exists "${version#python-}"; then
|
||||||
{ echo "warning: ignoring extraneous \`python-' prefix in version \`${version}'"
|
|
||||||
echo " (set by $(pyenv-version-origin))"
|
|
||||||
} >&2
|
|
||||||
versions=("${versions[@]}" "${version#python-}")
|
versions=("${versions[@]}" "${version#python-}")
|
||||||
else
|
else
|
||||||
echo "pyenv: version \`$version' is not installed" >&2
|
echo "pyenv: version \`$version' is not installed (set by $(pyenv-version-origin))" >&2
|
||||||
exit 1
|
any_not_installed=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -42,3 +40,7 @@ OLDIFS="$IFS"
|
|||||||
echo "${versions[*]}"
|
echo "${versions[*]}"
|
||||||
}
|
}
|
||||||
IFS="$OLDIFS"
|
IFS="$OLDIFS"
|
||||||
|
|
||||||
|
if [ "$any_not_installed" = 1 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|||||||
@@ -1,13 +1,69 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Summary: List all Python versions available to pyenv
|
# Summary: List all Python versions available to pyenv
|
||||||
# Usage: pyenv versions [--bare]
|
# Usage: pyenv versions [--bare] [--skip-aliases]
|
||||||
#
|
#
|
||||||
# Lists all Python versions found in `$PYENV_ROOT/versions/*'.
|
# Lists all Python versions found in `$PYENV_ROOT/versions/*'.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
if [ "$1" = "--bare" ]; then
|
unset bare
|
||||||
|
unset skip_aliases
|
||||||
|
# Provide pyenv completions
|
||||||
|
for arg; do
|
||||||
|
case "$arg" in
|
||||||
|
--complete )
|
||||||
|
echo --bare
|
||||||
|
echo --skip-aliases
|
||||||
|
exit ;;
|
||||||
|
--bare ) bare=1 ;;
|
||||||
|
--skip-aliases ) skip_aliases=1 ;;
|
||||||
|
* )
|
||||||
|
pyenv-help --usage versions >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
versions_dir="${PYENV_ROOT}/versions"
|
||||||
|
|
||||||
|
if ! enable -f "${BASH_SOURCE%/*}"/../libexec/pyenv-realpath.dylib realpath 2>/dev/null; then
|
||||||
|
if [ -n "$PYENV_NATIVE_EXT" ]; then
|
||||||
|
echo "pyenv: failed to load \`realpath' builtin" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
READLINK=$(type -p greadlink readlink | head -1)
|
||||||
|
if [ -z "$READLINK" ]; then
|
||||||
|
echo "pyenv: cannot find readlink - are you missing GNU coreutils?" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
resolve_link() {
|
||||||
|
$READLINK "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
realpath() {
|
||||||
|
local cwd="$PWD"
|
||||||
|
local path="$1"
|
||||||
|
local name
|
||||||
|
|
||||||
|
while [ -n "$path" ]; do
|
||||||
|
name="${path##*/}"
|
||||||
|
[ "$name" = "$path" ] || cd "${path%/*}"
|
||||||
|
path="$(resolve_link "$name" || true)"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "${PWD}/$name"
|
||||||
|
cd "$cwd"
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$versions_dir" ]; then
|
||||||
|
versions_dir="$(realpath "$versions_dir")"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$bare" ]; then
|
||||||
hit_prefix=""
|
hit_prefix=""
|
||||||
miss_prefix=""
|
miss_prefix=""
|
||||||
current_versions=()
|
current_versions=()
|
||||||
@@ -50,9 +106,20 @@ if [ -n "$include_system" ] && PYENV_VERSION=system pyenv-which python >/dev/nul
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
for path in "${PYENV_ROOT}/versions/"*; do
|
for path in "$versions_dir"/*; do
|
||||||
if [ -d "$path" ]; then
|
if [ -d "$path" ]; then
|
||||||
|
if [ -n "$skip_aliases" ] && [ -L "$path" ]; then
|
||||||
|
target="$(realpath "$path")"
|
||||||
|
[ "${target%/*}" != "$versions_dir" ] || continue
|
||||||
|
[ "${target%/*/envs/*}" != "$versions_dir" ] || continue
|
||||||
|
fi
|
||||||
print_version "${path##*/}"
|
print_version "${path##*/}"
|
||||||
|
# virtual environments created by anaconda/miniconda
|
||||||
|
for env_path in "${path}/envs/"*; do
|
||||||
|
if [ -d "${env_path}" ]; then
|
||||||
|
print_version "${env_path#${PYENV_ROOT}/versions/}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
|
|||||||
@@ -58,6 +58,9 @@ done
|
|||||||
|
|
||||||
if [ -x "$PYENV_COMMAND_PATH" ]; then
|
if [ -x "$PYENV_COMMAND_PATH" ]; then
|
||||||
echo "$PYENV_COMMAND_PATH"
|
echo "$PYENV_COMMAND_PATH"
|
||||||
|
elif [ "$PYENV_VERSION" != "system" ] && [ ! -d "${PYENV_ROOT}/versions/${PYENV_VERSION}" ]; then
|
||||||
|
echo "pyenv: version \`$PYENV_VERSION' is not installed (set by $(pyenv-version-origin))" >&2
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
any_not_installed=0
|
any_not_installed=0
|
||||||
for version in "${versions[@]}"; do
|
for version in "${versions[@]}"; do
|
||||||
|
|||||||
20
plugins/python-build/LICENSE
Normal file
20
plugins/python-build/LICENSE
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Copyright (c) 2013 Yamashita, Yuu
|
||||||
|
Copyright (c) 2012-2013 Sam Stephenson
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -1,11 +1,14 @@
|
|||||||
# python-build
|
# python-build
|
||||||
|
|
||||||
python-build is a [pyenv](https://github.com/yyuu/pyenv) plugin
|
python-build is a [pyenv](https://github.com/yyuu/pyenv) plugin that
|
||||||
that provides a `pyenv install` command to compile and install
|
provides a `pyenv install` command to compile and install different versions
|
||||||
different versions of Python on UNIX-like systems.
|
of Python on UNIX-like systems.
|
||||||
|
|
||||||
You can also use python-build without pyenv in environments where you
|
You can also use python-build without pyenv in environments where you need
|
||||||
need precise control over Python version installation.
|
precise control over Python version installation.
|
||||||
|
|
||||||
|
See the [list of releases](https://github.com/yyuu/pyenv/releases)
|
||||||
|
for changes in each version.
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@@ -17,183 +20,203 @@ default.
|
|||||||
|
|
||||||
### Installing as a standalone program (advanced)
|
### Installing as a standalone program (advanced)
|
||||||
|
|
||||||
Installing python-build as a standalone program will give you access to
|
Installing python-build as a standalone program will give you access to the
|
||||||
the `python-build` command for precise control over Python version
|
`python-build` command for precise control over Python version installation. If you
|
||||||
installation. If you have pyenv installed, you will also be able to
|
have pyenv installed, you will also be able to use the `pyenv install` command.
|
||||||
use the `pyenv install` command.
|
|
||||||
|
|
||||||
git clone git://github.com/yyuu/pyenv.git
|
git clone git://github.com/yyuu/pyenv.git
|
||||||
cd pyenv/plugins/python-build
|
cd pyenv/plugins/python-build
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
This will install python-build into `/usr/local`. If you do not have
|
This will install python-build into `/usr/local`. If you do not have write
|
||||||
write permission to `/usr/local`, you will need to run `sudo
|
permission to `/usr/local`, you will need to run `sudo ./install.sh` instead.
|
||||||
./install.sh` instead. You can install to a different prefix by
|
You can install to a different prefix by setting the `PREFIX` environment
|
||||||
setting the `PREFIX` environment variable.
|
variable.
|
||||||
|
|
||||||
To update python-build after it has been installed, run `git pull` in
|
To update python-build after it has been installed, run `git pull` in your cloned
|
||||||
your cloned copy of the repository, then re-run the install script.
|
copy of the repository, then re-run the install script.
|
||||||
|
|
||||||
|
### Installing with Homebrew (for OS X users)
|
||||||
|
|
||||||
|
Mac OS X users can install python-build with the [Homebrew](http://brew.sh)
|
||||||
|
package manager. This will give you access to the `python-build` command. If you
|
||||||
|
have pyenv installed, you will also be able to use the `pyenv install` command.
|
||||||
|
|
||||||
|
*This is the recommended method of installation if you installed pyenv with
|
||||||
|
Homebrew.*
|
||||||
|
|
||||||
|
brew install pyenv
|
||||||
|
|
||||||
|
Or, if you would like to install the latest development release:
|
||||||
|
|
||||||
|
brew install --HEAD pyenv
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
Before you begin, you should ensure that your build environment has the proper
|
||||||
|
system dependencies for compiling the wanted Python Version (see our [recommendations](https://github.com/yyuu/pyenv/wiki#suggested-build-environment)).
|
||||||
|
|
||||||
### Using `pyenv install` with pyenv
|
### Using `pyenv install` with pyenv
|
||||||
|
|
||||||
To install a Python version for use with pyenv, run `pyenv install` with
|
To install a Python version for use with pyenv, run `pyenv install` with
|
||||||
the exact name of the version you want to install. For example,
|
exact name of the version you want to install. For example,
|
||||||
|
|
||||||
pyenv install 2.7.4
|
pyenv install 2.7.4
|
||||||
|
|
||||||
Python versions will be installed into a directory of the same name
|
Python versions will be installed into a directory of the same name under
|
||||||
under `~/.pyenv/versions`.
|
`~/.pyenv/versions`.
|
||||||
|
|
||||||
To see a list of all available Python versions, run `pyenv install --list`.
|
To see a list of all available Python versions, run `pyenv install --list`. You
|
||||||
You may also tab-complete available Python
|
may also tab-complete available Python versions if your pyenv installation is
|
||||||
versions if your pyenv installation is properly configured.
|
properly configured.
|
||||||
|
|
||||||
### Using `python-build` standalone
|
### Using `python-build` standalone
|
||||||
|
|
||||||
If you have installed python-build as a standalone program, you can use
|
If you have installed python-build as a standalone program, you can use the
|
||||||
the `python-build` command to compile and install Python versions into
|
`python-build` command to compile and install Python versions into specific
|
||||||
specific locations.
|
locations.
|
||||||
|
|
||||||
Run the `python-build` command with the exact name of the version you
|
Run the `python-build` command with the exact name of the version you want to
|
||||||
want to install and the full path where you want to install it. For
|
install and the full path where you want to install it. For example,
|
||||||
example,
|
|
||||||
|
|
||||||
python-build 2.7.4 ~/local/python-2.7.4
|
python-build 2.7.4 ~/local/python-2.7.4
|
||||||
|
|
||||||
To see a list of all available Python versions, run `python-build
|
To see a list of all available Python versions, run `python-build --definitions`.
|
||||||
--definitions`.
|
|
||||||
|
|
||||||
Pass the `-v` or `--verbose` flag to `python-build` as the first
|
Pass the `-v` or `--verbose` flag to `python-build` as the first argument to see
|
||||||
argument to see what's happening under the hood.
|
what's happening under the hood.
|
||||||
|
|
||||||
### Custom definitions
|
### Custom definitions
|
||||||
|
|
||||||
Both `pyenv install` and `python-build` accept a path to a custom
|
Both `pyenv install` and `python-build` accept a path to a custom definition file
|
||||||
definition file in place of a version name. Custom definitions let you
|
in place of a version name. Custom definitions let you develop and install
|
||||||
develop and install versions of Python that are not yet supported by
|
versions of Python that are not yet supported by python-build.
|
||||||
python-build.
|
|
||||||
|
|
||||||
See the [python-build built-in
|
See the [python-build built-in definitions](https://github.com/yyuu/pyenv/tree/master/plugins/python-build/share/python-build) as a starting point for
|
||||||
definitions](https://github.com/yyuu/pyenv/tree/master/plugins/python-build/share/python-build)
|
custom definition files.
|
||||||
as a starting point for custom definition files.
|
|
||||||
|
[definitions]: https://github.com/yyuu/pyenv/tree/master/plugins/python-build/share/python-build
|
||||||
|
|
||||||
### Special environment variables
|
### Special environment variables
|
||||||
|
|
||||||
You can set certain environment variables to control the build
|
You can set certain environment variables to control the build process.
|
||||||
process.
|
|
||||||
|
|
||||||
* `TMPDIR` sets the location where python-build stores temporary files.
|
* `TMPDIR` sets the location where python-build stores temporary files.
|
||||||
* `PYTHON_BUILD_BUILD_PATH` sets the location in which sources are
|
* `PYTHON_BUILD_BUILD_PATH` sets the location in which sources are downloaded and
|
||||||
downloaded and built. By default, this is a subdirectory of
|
built. By default, this is a subdirectory of `TMPDIR`.
|
||||||
`TMPDIR`.
|
* `PYTHON_BUILD_CACHE_PATH`, if set, specifies a directory to use for caching
|
||||||
* `PYTHON_BUILD_CACHE_PATH`, if set, specifies a directory to use for
|
downloaded package files.
|
||||||
caching downloaded package files.
|
* `PYTHON_BUILD_MIRROR_URL` overrides the default mirror URL root to one of your
|
||||||
* `PYTHON_BUILD_MIRROR_URL` overrides the default mirror URL root to one
|
choosing.
|
||||||
of your choosing.
|
* `PYTHON_BUILD_SKIP_MIRROR`, if set, forces python-build to download packages from
|
||||||
* `PYTHON_BUILD_SKIP_MIRROR`, if set, forces python-build to download
|
their original source URLs instead of using a mirror.
|
||||||
packages from their original source URLs instead of using a mirror.
|
* `PYTHON_BUILD_ROOT` overrides the default location from where build definitions
|
||||||
|
in `share/python-build/` are looked up.
|
||||||
|
* `PYTHON_BUILD_DEFINITIONS` can be a list of colon-separated paths that get
|
||||||
|
additionally searched when looking up build definitions.
|
||||||
* `CC` sets the path to the C compiler.
|
* `CC` sets the path to the C compiler.
|
||||||
|
* `PYTHON_CFLAGS` lets you pass additional options to the default `CFLAGS`. Use
|
||||||
|
this to override, for instance, the `-O3` option.
|
||||||
* `CONFIGURE_OPTS` lets you pass additional options to `./configure`.
|
* `CONFIGURE_OPTS` lets you pass additional options to `./configure`.
|
||||||
* `MAKE` lets you override the command to use for `make`. Useful for
|
* `MAKE` lets you override the command to use for `make`. Useful for specifying
|
||||||
specifying GNU make (`gmake`) on some systems.
|
GNU make (`gmake`) on some systems.
|
||||||
* `MAKE_OPTS` (or `MAKEOPTS`) lets you pass additional options to
|
* `MAKE_OPTS` (or `MAKEOPTS`) lets you pass additional options to `make`.
|
||||||
`make`.
|
* `MAKE_INSTALL_OPTS` lets you pass additional options to `make install`.
|
||||||
* `PYTHON_CONFIGURE_OPTS` and `PYTHON_MAKE_OPTS` allow you to specify
|
* `PYTHON_CONFIGURE_OPTS` and `PYTHON_MAKE_OPTS` and `PYTHON_MAKE_INSTALL_OPTS` allow
|
||||||
configure and make options for buildling CPython. These variables will
|
you to specify configure and make options for buildling CPython. These variables
|
||||||
be passed to Python only, not any dependent packages (e.g. libyaml).
|
will be passed to Python only, not any dependent packages (e.g. libyaml).
|
||||||
|
|
||||||
|
### Applying patches to Python before compiling
|
||||||
|
|
||||||
|
Both `pyenv install` and `python-build` support the `--patch` (`-p`) flag that
|
||||||
|
signals that a patch from stdin should be applied to Python, Jython or PyPy
|
||||||
|
source code before the `./configure` and compilation steps.
|
||||||
|
|
||||||
|
Example usage:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# applying a single patch
|
||||||
|
$ pyenv install --patch 2.7.10 < /path/to/python.patch
|
||||||
|
|
||||||
|
# applying a patch from HTTP
|
||||||
|
$ pyenv install --patch 2.7.10 < <(curl -sSL http://git.io/python.patch)
|
||||||
|
|
||||||
|
# applying multiple patches
|
||||||
|
$ cat fix1.patch fix2.patch | pyenv install --patch 2.7.10
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Building with `--enable-shared`
|
||||||
|
|
||||||
|
You can build CPython with `--enable-shared` to install a version with
|
||||||
|
shared object.
|
||||||
|
|
||||||
|
If `--enabled-shared` was found in `PYTHON_CONFIGURE_OPTS` or `CONFIGURE_OPTS`,
|
||||||
|
`python-build` will automatically set `RPATH` to the pyenv's prefix directory.
|
||||||
|
This means you don't have to set `LD_LIBRARY_PATH` or `DYLD_LIBRARY_PATH` for
|
||||||
|
the version(s) installed with `--enable-shared`.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ env PYTHON_CONFIGURE_OPTS="--enable-shared` pyenv install 2.7.9
|
||||||
|
```
|
||||||
|
|
||||||
### Checksum verification
|
### Checksum verification
|
||||||
|
|
||||||
If you have the `shasum`, `openssl`, or `sha256sum` tool installed,
|
If you have the `shasum`, `openssl`, or `sha256sum` tool installed, python-build will
|
||||||
python-build will automatically verify the SHA2 checksum of each
|
automatically verify the SHA2 checksum of each downloaded package before
|
||||||
downloaded package before installing it.
|
installing it.
|
||||||
|
|
||||||
Checksums are optional and specified as anchors on the package URL in
|
Checksums are optional and specified as anchors on the package URL in each
|
||||||
each definition. (All bundled definitions include checksums.)
|
definition. (All bundled definitions include checksums.)
|
||||||
|
|
||||||
### Package download mirrors
|
### Package download mirrors
|
||||||
|
|
||||||
python-build will first attempt to download package files from a mirror
|
python-build will first attempt to download package files from a mirror hosted on
|
||||||
hosted on Amazon CloudFront. If a package is not available on the
|
GitHub Pages. If a package is not available on the mirror, if the mirror
|
||||||
mirror, if the mirror is down, or if the download is corrupt,
|
is down, or if the download is corrupt, python-build will fall back to the
|
||||||
python-build will fall back to the official URL specified in the
|
official URL specified in the defintion file.
|
||||||
defintion file.
|
|
||||||
|
|
||||||
You can point python-build to another mirror by specifying the
|
You can point python-build to another mirror by specifying the
|
||||||
`PYTHON_BUILD_MIRROR_URL` environment variable--useful if you'd like to
|
`PYTHON_BUILD_MIRROR_URL` environment variable--useful if you'd like to run your
|
||||||
run your own local mirror, for example. Package mirror URLs are
|
own local mirror, for example. Package mirror URLs are constructed by joining
|
||||||
constructed by joining this variable with the SHA2 checksum of the
|
this variable with the SHA2 checksum of the package file.
|
||||||
package file.
|
|
||||||
|
|
||||||
If you don't have an SHA2 program installed, python-build will skip the
|
If you don't have an SHA2 program installed, python-build will skip the download
|
||||||
download mirror and use official URLs instead. You can force
|
mirror and use official URLs instead. You can force python-build to bypass the
|
||||||
python-build to bypass the mirror by setting the
|
mirror by setting the `PYTHON_BUILD_SKIP_MIRROR` environment variable.
|
||||||
`PYTHON_BUILD_SKIP_MIRROR` environment variable.
|
|
||||||
|
|
||||||
The official python-build download mirror is provided by [Git Hub Pages](http://yyuu.github.io/pythons/).
|
The official python-build download mirror is provided by
|
||||||
|
[GitHub Pages](http://yyuu.github.io/pythons/).
|
||||||
|
|
||||||
### Package download caching
|
### Package download caching
|
||||||
|
|
||||||
You can instruct python-build to keep a local cache of downloaded
|
You can instruct python-build to keep a local cache of downloaded package files
|
||||||
package files by setting the `PYTHON_BUILD_CACHE_PATH` environment
|
by setting the `PYTHON_BUILD_CACHE_PATH` environment variable. When set, package
|
||||||
variable. When set, package files will be kept in this directory after
|
files will be kept in this directory after the first successful download and
|
||||||
the first successful download and reused by subsequent invocations of
|
reused by subsequent invocations of `python-build` and `pyenv install`.
|
||||||
`python-build` and `pyenv install`.
|
|
||||||
|
|
||||||
The `pyenv install` command defaults this path to `~/.pyenv/cache`, so
|
The `pyenv install` command defaults this path to `~/.pyenv/cache`, so in most
|
||||||
in most cases you can enable download caching simply by creating that
|
cases you can enable download caching simply by creating that directory.
|
||||||
directory.
|
|
||||||
|
|
||||||
### Keeping the build directory after installation
|
### Keeping the build directory after installation
|
||||||
|
|
||||||
Both `python-build` and `pyenv install` accept the `-k` or `--keep`
|
Both `python-build` and `pyenv install` accept the `-k` or `--keep` flag, which
|
||||||
flag, which tells python-build to keep the downloaded source after
|
tells python-build to keep the downloaded source after installation. This can be
|
||||||
installation. This can be useful if you need to use `gdb` and
|
useful if you need to use `gdb` and `memprof` with Python.
|
||||||
`memprof` with Python.
|
|
||||||
|
|
||||||
Source code will be kept in a parallel directory tree
|
Source code will be kept in a parallel directory tree `~/.pyenv/sources` when
|
||||||
`~/.pyenv/sources` when using `--keep` with the `pyenv install`
|
using `--keep` with the `pyenv install` command. You should specify the
|
||||||
command. You should specify the location of the source code with the
|
location of the source code with the `PYTHON_BUILD_BUILD_PATH` environment
|
||||||
`PYTHON_BUILD_BUILD_PATH` environment variable when using `--keep` with
|
variable when using `--keep` with `python-build`.
|
||||||
`python-build`.
|
|
||||||
|
|
||||||
|
|
||||||
## Getting Help
|
## Getting Help
|
||||||
|
|
||||||
Please see the [python-build
|
Please see the [pyenv wiki](https://github.com/yyuu/pyenv/wiki) for solutions to common problems.
|
||||||
wiki](https://github.com/yyuu/pyenv/wiki) for solutions to
|
|
||||||
common problems.
|
[wiki]: https://github.com/yyuu/pyenv/wiki
|
||||||
|
|
||||||
If you can't find an answer on the wiki, open an issue on the [issue
|
If you can't find an answer on the wiki, open an issue on the [issue
|
||||||
tracker](https://github.com/yyuu/pyenv/issues). Be sure to
|
tracker](https://github.com/yyuu/pyenv/issues). Be sure to include
|
||||||
include the full build log for build failures.
|
the full build log for build failures.
|
||||||
|
|
||||||
|
|
||||||
### License
|
|
||||||
|
|
||||||
(The MIT License)
|
|
||||||
|
|
||||||
* Copyright (c) 2013 Yamashita, Yuu
|
|
||||||
* Copyright (c) 2012 Sam Stephenson
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|||||||
@@ -47,8 +47,7 @@ fi
|
|||||||
eval "$(python-build --lib)"
|
eval "$(python-build --lib)"
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
# We can remove the sed fallback once pyenv 0.4.0 is widely available.
|
pyenv-help install 2>/dev/null
|
||||||
pyenv-help install 2>/dev/null || sed -ne '/^#/!q;s/.//;s/.//;1,4d;p' < "$0"
|
|
||||||
[ -z "$1" ] || exit "$1"
|
[ -z "$1" ] || exit "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -101,11 +100,13 @@ for option in "${OPTIONS[@]}"; do
|
|||||||
exec python-build --version
|
exec python-build --version
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
usage 1
|
usage 1 >&2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[ "${#ARGUMENTS[@]}" -le 1 ] || usage 1 >&2
|
||||||
|
|
||||||
unset VERSION_NAME
|
unset VERSION_NAME
|
||||||
|
|
||||||
# The first argument contains the definition to install. If the
|
# The first argument contains the definition to install. If the
|
||||||
@@ -114,8 +115,7 @@ unset VERSION_NAME
|
|||||||
# version is not specified.
|
# version is not specified.
|
||||||
DEFINITION="${ARGUMENTS[0]}"
|
DEFINITION="${ARGUMENTS[0]}"
|
||||||
[ -n "$DEFINITION" ] || DEFINITION="$(pyenv-local 2>/dev/null || true)"
|
[ -n "$DEFINITION" ] || DEFINITION="$(pyenv-local 2>/dev/null || true)"
|
||||||
[ -n "$DEFINITION" ] || usage 1
|
[ -n "$DEFINITION" ] || usage 1 >&2
|
||||||
|
|
||||||
|
|
||||||
# Define `before_install` and `after_install` functions that allow
|
# Define `before_install` and `after_install` functions that allow
|
||||||
# plugin hooks to register a string of code for execution before or
|
# plugin hooks to register a string of code for execution before or
|
||||||
@@ -177,40 +177,50 @@ if [ -z "${PYTHON_BUILD_CACHE_PATH}" ] && [ -d "${PYENV_ROOT}/cache" ]; then
|
|||||||
export PYTHON_BUILD_CACHE_PATH="${PYENV_ROOT}/cache"
|
export PYTHON_BUILD_CACHE_PATH="${PYENV_ROOT}/cache"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Default PYENV_VERSION to the friendly Python version. (The
|
if [ -z "${PYENV_BOOTSTRAP_VERSION}" ]; then
|
||||||
# CPython installer requires an existing Python installation to run. An
|
case "${VERSION_NAME}" in
|
||||||
# unsatisfied local .python-version file can cause the installer to
|
[23]"."* )
|
||||||
# fail.)
|
# Default PYENV_VERSION to the friendly Python version. (The
|
||||||
if [[ "${VERSION_NAME}" == [23]"."* ]]; then
|
# CPython installer requires an existing Python installation to run. An
|
||||||
for version in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"; do
|
# unsatisfied local .python-version file can cause the installer to
|
||||||
PYENV_VERSION="$(pyenv-whence "python${version}" 2>/dev/null | tail -n 1 || true)"
|
# fail.)
|
||||||
if [ -n "${PYENV_VERSION}" ]; then
|
for version_info in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"; do
|
||||||
export PYENV_VERSION
|
# Anaconda's `curl` doesn't work on platfrom where `/etc/pki/tls/certs/ca-bundle.crt` isn't available (e.g. Debian)
|
||||||
break
|
for version in $(pyenv-whence "python${version_info}" 2>/dev/null || true); do
|
||||||
fi
|
if [[ "${version}" != "anaconda"* ]] && [[ "${version}" != "miniconda"* ]]; then
|
||||||
done
|
PYENV_BOOTSTRAP_VERSION="${version}"
|
||||||
fi
|
break 2
|
||||||
|
fi
|
||||||
# PyPy/PyPy3 requires existing Python 2.7 to build
|
done
|
||||||
if [[ "${VERSION_NAME}" == "pypy-"*"-src" ]] || [[ "${VERSION_NAME}" == "pypy3-"*"-src" ]]; then
|
|
||||||
if [ -z "$PYENV_RPYTHON_VERSION" ]; then
|
|
||||||
for version in $(pyenv-versions --bare | sort -r); do
|
|
||||||
if [[ "$version" == "2.7"* ]]; then
|
|
||||||
PYENV_RPYTHON_VERSION="$version"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
;;
|
||||||
if [ -n "$PYENV_RPYTHON_VERSION" ]; then
|
"pypy-"*"-src" | "pypy3-"*"-src" )
|
||||||
if PYENV_VERSION="$PYENV_RPYTHON_VERSION" pyenv-exec python -c 'import curses' 1>/dev/null 2>&1; then
|
# PyPy/PyPy3 requires existing Python 2.7 to build
|
||||||
export PYENV_VERSION="$PYENV_RPYTHON_VERSION"
|
if [ -n "${PYENV_RPYTHON_VERSION}" ]; then
|
||||||
|
PYENV_BOOTSTRAP_VERSION="${PYENV_RPYTHON_VERSION}"
|
||||||
else
|
else
|
||||||
echo "pyenv-install: $VERSION_NAME: PyPy requires \`curses' in $PYENV_RPYTHON_VERSION to build from source." >&2
|
for version in $(pyenv-versions --bare | sort -r); do
|
||||||
|
if [[ "${version}" == "2.7"* ]]; then
|
||||||
|
PYENV_BOOTSTRAP_VERSION="$version"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
if [ -n "$PYENV_BOOTSTRAP_VERSION" ]; then
|
||||||
|
if ! PYENV_VERSION="$PYENV_BOOTSTRAP_VERSION" pyenv-exec python -c 'import curses' 1>/dev/null 2>&1; then
|
||||||
|
echo "pyenv-install: $VERSION_NAME: PyPy requires \`curses' in $PYENV_BOOTSTRAP_VERSION to build from source." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "pyenv-install: $VERSION_NAME: PyPy requires Python 2.7 to build from source." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
else
|
;;
|
||||||
echo "pyenv-install: $VERSION_NAME: PyPy requires Python 2.5, 2.6 or 2.7 to build from source." >&2
|
esac
|
||||||
exit 1
|
fi
|
||||||
fi
|
|
||||||
|
if [ -n "${PYENV_BOOTSTRAP_VERSION}" ]; then
|
||||||
|
export PYENV_VERSION="${PYENV_BOOTSTRAP_VERSION}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Execute `before_install` hooks.
|
# Execute `before_install` hooks.
|
||||||
@@ -245,7 +255,7 @@ if [ "$STATUS" == "2" ]; then
|
|||||||
echo " brew update && brew upgrade pyenv"
|
echo " brew update && brew upgrade pyenv"
|
||||||
elif [ -d "${here}/.git" ]; then
|
elif [ -d "${here}/.git" ]; then
|
||||||
printf ":\n\n"
|
printf ":\n\n"
|
||||||
echo " cd ${here} && git pull"
|
echo " cd ${here} && git pull && cd -"
|
||||||
else
|
else
|
||||||
printf ".\n"
|
printf ".\n"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -17,24 +17,31 @@ if [ "$1" = "--complete" ]; then
|
|||||||
exec pyenv versions --bare
|
exec pyenv versions --bare
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
pyenv-help uninstall 2>/dev/null
|
||||||
|
[ -z "$1" ] || exit "$1"
|
||||||
|
}
|
||||||
|
|
||||||
if [ -z "$PYENV_ROOT" ]; then
|
if [ -z "$PYENV_ROOT" ]; then
|
||||||
PYENV_ROOT="${HOME}/.pyenv"
|
PYENV_ROOT="${HOME}/.pyenv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
||||||
|
usage 0
|
||||||
|
fi
|
||||||
|
|
||||||
unset FORCE
|
unset FORCE
|
||||||
if [ "$1" = "-f" ] || [ "$1" = "--force" ]; then
|
if [ "$1" = "-f" ] || [ "$1" = "--force" ]; then
|
||||||
FORCE=true
|
FORCE=true
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ "$#" -eq 1 ] || usage 1 >&2
|
||||||
|
|
||||||
DEFINITION="$1"
|
DEFINITION="$1"
|
||||||
case "$DEFINITION" in
|
case "$DEFINITION" in
|
||||||
"" | -* )
|
"" | -* )
|
||||||
# We can remove the sed fallback once pyenv 0.4.0 is widely available.
|
usage 1 >&2
|
||||||
{ pyenv-help uninstall 2>/dev/null ||
|
|
||||||
sed -ne '/^#/!q;s/.\{1,2\}//;1,4d;p' < "$0"
|
|
||||||
} >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Usage: python-build [-kvp] <definition> <prefix>
|
||||||
|
# python-build --definitions
|
||||||
|
#
|
||||||
|
# -k/--keep Do not remove source tree after installation
|
||||||
|
# -v/--verbose Verbose mode: print compilation status to stdout
|
||||||
|
# -p/--patch Apply a patch from stdin before building
|
||||||
|
# -4/--ipv4 Resolve names to IPv4 addresses only
|
||||||
|
# -6/--ipv6 Resolve names to IPv6 addresses only
|
||||||
|
# --definitions List all built-in definitions
|
||||||
|
# -g/--debug Build a debug version
|
||||||
|
#
|
||||||
|
|
||||||
PYTHON_BUILD_VERSION="20141028"
|
PYTHON_BUILD_VERSION="20151028"
|
||||||
|
|
||||||
|
OLDIFS="$IFS"
|
||||||
|
|
||||||
set -E
|
set -E
|
||||||
exec 3<&2 # preserve original stderr at fd 3
|
exec 3<&2 # preserve original stderr at fd 3
|
||||||
@@ -91,6 +105,7 @@ os_information() {
|
|||||||
osx_version() {
|
osx_version() {
|
||||||
local -a ver
|
local -a ver
|
||||||
IFS=. ver=( `sw_vers -productVersion` )
|
IFS=. ver=( `sw_vers -productVersion` )
|
||||||
|
IFS="$OLDIFS"
|
||||||
echo $(( ${ver[0]}*100 + ${ver[1]} ))
|
echo $(( ${ver[0]}*100 + ${ver[1]} ))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -221,7 +236,7 @@ compute_sha2() {
|
|||||||
output="$(shasum -a 256 -b)" || return 1
|
output="$(shasum -a 256 -b)" || return 1
|
||||||
echo "${output% *}"
|
echo "${output% *}"
|
||||||
elif type openssl &>/dev/null; then
|
elif type openssl &>/dev/null; then
|
||||||
local openssl="$(command -v "$(brew --prefix openssl 2>/dev/null)"/bin/openssl openssl | head -1)"
|
local openssl="$(command -v "$(brew --prefix openssl 2>/dev/null || true)"/bin/openssl openssl | head -1)"
|
||||||
output="$("$openssl" dgst -sha256 2>/dev/null)" || return 1
|
output="$("$openssl" dgst -sha256 2>/dev/null)" || return 1
|
||||||
echo "${output##* }"
|
echo "${output##* }"
|
||||||
elif type sha256sum &>/dev/null; then
|
elif type sha256sum &>/dev/null; then
|
||||||
@@ -297,19 +312,31 @@ http() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
http_head_curl() {
|
http_head_curl() {
|
||||||
curl -qsILf "$1" >&4 2>&1
|
options=""
|
||||||
|
[ -n "${IPV4}" ] && options="--ipv4"
|
||||||
|
[ -n "${IPV6}" ] && options="--ipv6"
|
||||||
|
curl -qsILf ${options} "$1" >&4 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
http_get_curl() {
|
http_get_curl() {
|
||||||
curl -q -o "${2:--}" -sSLf "$1"
|
options=""
|
||||||
|
[ -n "${IPV4}" ] && options="--ipv4"
|
||||||
|
[ -n "${IPV6}" ] && options="--ipv6"
|
||||||
|
curl -q -o "${2:--}" -sSLf ${options} "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
http_head_wget() {
|
http_head_wget() {
|
||||||
wget -q --spider "$1" >&4 2>&1
|
options=""
|
||||||
|
[ -n "${IPV4}" ] && options="--inet4-only"
|
||||||
|
[ -n "${IPV6}" ] && options="--inet6-only"
|
||||||
|
wget -q --spider ${options} "$1" >&4 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
http_get_wget() {
|
http_get_wget() {
|
||||||
wget -nv -O "${2:--}" "$1"
|
options=""
|
||||||
|
[ -n "${IPV4}" ] && options="--inet4-only"
|
||||||
|
[ -n "${IPV6}" ] && options="--inet6-only"
|
||||||
|
wget -nv ${options} -O "${2:--}" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_tarball() {
|
fetch_tarball() {
|
||||||
@@ -494,8 +521,10 @@ fetch_svn() {
|
|||||||
|
|
||||||
if type svn &>/dev/null; then
|
if type svn &>/dev/null; then
|
||||||
svn co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
|
svn co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
|
||||||
|
elif type svnlite &>/dev/null; then
|
||||||
|
svnlite co -r "$svn_rev" "$svn_url" "${package_name}" >&4 2>&1
|
||||||
else
|
else
|
||||||
echo "error: please install \`svn\` and try again" >&2
|
echo "error: please install Subversion and try again" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -524,7 +553,9 @@ fetch_jar() {
|
|||||||
download_tarball "$package_url" "$package_filename" "$checksum"
|
download_tarball "$package_url" "$package_filename" "$checksum"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ if $JAVA -jar ${package_name}.jar -s -d ${package_name}; then
|
# Must use full path to jar and destination directory:
|
||||||
|
# http://bugs.jython.org/issue2350
|
||||||
|
{ if $JAVA -jar $PWD/${package_name}.jar -s -d $PWD/${package_name}; then
|
||||||
if [ -z "$KEEP_BUILD_PATH" ]; then
|
if [ -z "$KEEP_BUILD_PATH" ]; then
|
||||||
rm -f "$package_filename"
|
rm -f "$package_filename"
|
||||||
else
|
else
|
||||||
@@ -656,8 +687,7 @@ build_package_standard() {
|
|||||||
export CC=clang
|
export CC=clang
|
||||||
fi
|
fi
|
||||||
${!PACKAGE_CONFIGURE:-./configure} --prefix="${!PACKAGE_PREFIX_PATH:-$PREFIX_PATH}" \
|
${!PACKAGE_CONFIGURE:-./configure} --prefix="${!PACKAGE_PREFIX_PATH:-$PREFIX_PATH}" \
|
||||||
--libdir="${!PACKAGE_PREFIX_PATH:-$PREFIX_PATH}/lib" \
|
$CONFIGURE_OPTS ${!PACKAGE_CONFIGURE_OPTS} "${!PACKAGE_CONFIGURE_OPTS_ARRAY}" || return 1
|
||||||
$CONFIGURE_OPTS ${!PACKAGE_CONFIGURE_OPTS} "${!PACKAGE_CONFIGURE_OPTS_ARRAY}"
|
|
||||||
) >&4 2>&1
|
) >&4 2>&1
|
||||||
|
|
||||||
{ "$MAKE" $MAKE_OPTS ${!PACKAGE_MAKE_OPTS} "${!PACKAGE_MAKE_OPTS_ARRAY}"
|
{ "$MAKE" $MAKE_OPTS ${!PACKAGE_MAKE_OPTS} "${!PACKAGE_MAKE_OPTS_ARRAY}"
|
||||||
@@ -819,6 +849,23 @@ build_package_jython() {
|
|||||||
( cd "${PREFIX_PATH}/bin" && ln -fs jython python )
|
( cd "${PREFIX_PATH}/bin" && ln -fs jython python )
|
||||||
fi
|
fi
|
||||||
} >&4 2>&1
|
} >&4 2>&1
|
||||||
|
fix_jython_shebangs
|
||||||
|
}
|
||||||
|
|
||||||
|
fix_jython_shebangs() {
|
||||||
|
# Workaround for Jython 2.7+ (#458)
|
||||||
|
for file in "${PREFIX_PATH}/bin"/*; do
|
||||||
|
case "$(head -1 "${file}")" in
|
||||||
|
"#!"*"/bin/jython" )
|
||||||
|
sed -i.bak "1 s:.*:#\!\/usr\/bin\/env ${PREFIX_PATH}\/bin\/jython:" "${file}"
|
||||||
|
;;
|
||||||
|
"#!"*"/bin/python2.7"* )
|
||||||
|
# Jython 2.7+ requires CPython 2.7 to run
|
||||||
|
sed -i.bak "1 s:.*:#\!\/usr\/bin\/env python2.7:" "${file}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
rm -f "${file}.bak"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
build_package_jython_builder() {
|
build_package_jython_builder() {
|
||||||
@@ -846,6 +893,8 @@ pypy_architecture() {
|
|||||||
"armel" ) echo "linux-armel" ;;
|
"armel" ) echo "linux-armel" ;;
|
||||||
"armhf" | "armv6l" | "armv7l" ) echo "linux-armhf" ;;
|
"armhf" | "armv6l" | "armv7l" ) echo "linux-armhf" ;;
|
||||||
"i386" | "i486" | "i586" | "i686" | "i786" ) echo "linux" ;;
|
"i386" | "i486" | "i586" | "i686" | "i786" ) echo "linux" ;;
|
||||||
|
"ppc64" ) echo "linux-ppc64" ;;
|
||||||
|
"ppc64le" ) echo "linux-ppc64le" ;;
|
||||||
"x86_64" ) echo "linux64" ;;
|
"x86_64" ) echo "linux64" ;;
|
||||||
* ) return 1 ;;
|
* ) return 1 ;;
|
||||||
esac
|
esac
|
||||||
@@ -864,10 +913,18 @@ pypy_architecture() {
|
|||||||
build_package_pypy() {
|
build_package_pypy() {
|
||||||
build_package_copy
|
build_package_copy
|
||||||
mkdir -p "${PREFIX_PATH}/bin" "${PREFIX_PATH}/lib"
|
mkdir -p "${PREFIX_PATH}/bin" "${PREFIX_PATH}/lib"
|
||||||
local pypy libpypy
|
local pypy libpypy python
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
for pypy in "bin/pypy"*; do
|
for pypy in "bin/pypy"*; do
|
||||||
( cd "${PREFIX_PATH}/bin" && ln -fs "$(basename "${pypy}")" "$(basename "${pypy}" | sed -e 's/pypy/python/')" )
|
case "${pypy##*/}" in
|
||||||
|
"pypy-stm" )
|
||||||
|
python="bin/python"
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
python="$(basename "${pypy}" | sed -e 's/pypy/python/')"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
( cd "${PREFIX_PATH}/bin" && ln -fs "${pypy##*/}" "${python##*/}" )
|
||||||
done
|
done
|
||||||
for libpypy in "bin/libpypy-c."*; do
|
for libpypy in "bin/libpypy-c."*; do
|
||||||
( cd "${PREFIX_PATH}/lib" && ln -fs "../bin/$(basename "${libpypy}")" "$(basename "${libpypy}")" )
|
( cd "${PREFIX_PATH}/lib" && ln -fs "../bin/$(basename "${libpypy}")" "$(basename "${libpypy}")" )
|
||||||
@@ -970,7 +1027,7 @@ fix_rbx_gem_binstubs() {
|
|||||||
binstub="${bindir}/${file##*/}"
|
binstub="${bindir}/${file##*/}"
|
||||||
rm -f "$binstub"
|
rm -f "$binstub"
|
||||||
{ echo "#!${bindir}/ruby"
|
{ echo "#!${bindir}/ruby"
|
||||||
cat "$file"
|
grep -v '^#!' "$file"
|
||||||
} > "$binstub"
|
} > "$binstub"
|
||||||
chmod +x "$binstub"
|
chmod +x "$binstub"
|
||||||
done
|
done
|
||||||
@@ -987,7 +1044,7 @@ fix_rbx_irb() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require_java7() {
|
require_java7() {
|
||||||
local version="$(java -version 2>&1 | head -1)"
|
local version="$(java -version 2>&1 | grep '\(java\|openjdk\) version' | head -1)"
|
||||||
if [[ $version != *1.[789]* ]]; then
|
if [[ $version != *1.[789]* ]]; then
|
||||||
colorize 1 "ERROR" >&3
|
colorize 1 "ERROR" >&3
|
||||||
echo ": Java 7 required. Please install a 1.7-compatible JRE." >&3
|
echo ": Java 7 required. Please install a 1.7-compatible JRE." >&3
|
||||||
@@ -1049,6 +1106,7 @@ require_gcc() {
|
|||||||
locate_gcc() {
|
locate_gcc() {
|
||||||
local gcc gccs
|
local gcc gccs
|
||||||
IFS=: gccs=($(gccs_in_path))
|
IFS=: gccs=($(gccs_in_path))
|
||||||
|
IFS="$OLDIFS"
|
||||||
|
|
||||||
verify_gcc "$CC" ||
|
verify_gcc "$CC" ||
|
||||||
verify_gcc "$(command -v gcc || true)" || {
|
verify_gcc "$(command -v gcc || true)" || {
|
||||||
@@ -1064,6 +1122,7 @@ gccs_in_path() {
|
|||||||
local gcc path paths
|
local gcc path paths
|
||||||
local gccs=()
|
local gccs=()
|
||||||
IFS=: paths=($PATH)
|
IFS=: paths=($PATH)
|
||||||
|
IFS="$OLDIFS"
|
||||||
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
for path in "${paths[@]}"; do
|
for path in "${paths[@]}"; do
|
||||||
@@ -1098,11 +1157,48 @@ require_llvm() {
|
|||||||
local llvm_version="$1"
|
local llvm_version="$1"
|
||||||
if [ "$(uname -s)" = "Darwin" ] && [ "$(osx_version)" -ge 1010 ]; then
|
if [ "$(uname -s)" = "Darwin" ] && [ "$(osx_version)" -ge 1010 ]; then
|
||||||
if [[ "$PYTHON_CONFIGURE_OPTS" != *--llvm-* ]]; then
|
if [[ "$PYTHON_CONFIGURE_OPTS" != *--llvm-* ]]; then
|
||||||
package_option python configure --prebuilt-name="llvm-3.2-x86_64-apple-darwin13.tar.bz2"
|
case "$llvm_version" in
|
||||||
|
3.2 )
|
||||||
|
package_option python configure --prebuilt-name="llvm-3.2-x86_64-apple-darwin13.tar.bz2"
|
||||||
|
;;
|
||||||
|
3.5 )
|
||||||
|
local llvm_config="$(locate_llvm "$llvm_version")"
|
||||||
|
if [ -n "$llvm_config" ]; then
|
||||||
|
package_option python configure --llvm-config="$llvm_config"
|
||||||
|
else
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": Rubinius will not be able to compile using Apple's LLVM-based "
|
||||||
|
echo "build tools on OS X. You will need to install LLVM 3.5 first."
|
||||||
|
echo
|
||||||
|
colorize 1 "TO FIX THE PROBLEM"
|
||||||
|
echo ": Install Homebrew's llvm package with this"
|
||||||
|
echo -n "command: "
|
||||||
|
colorize 4 "brew tap homebrew/versions ; brew install llvm35"
|
||||||
|
echo
|
||||||
|
} >&3
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
locate_llvm() {
|
||||||
|
local llvm_version="$1"
|
||||||
|
local package llvm_config
|
||||||
|
shopt -s nullglob
|
||||||
|
for package in `brew list 2>/dev/null | grep "^llvm"`; do
|
||||||
|
llvm_config="$(echo "$(brew --prefix "$package")/bin/llvm-config"*)"
|
||||||
|
if [ -n "$llvm_config" ] && [[ "$("$llvm_config" --version)" = "$llvm_version"* ]]; then
|
||||||
|
echo "$llvm_config"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
shopt -u nullglob
|
||||||
|
}
|
||||||
|
|
||||||
require_java() {
|
require_java() {
|
||||||
local java="$(command -v java || true)"
|
local java="$(command -v java || true)"
|
||||||
|
|
||||||
@@ -1122,13 +1218,13 @@ require_java() {
|
|||||||
|
|
||||||
require_distro() {
|
require_distro() {
|
||||||
for arg; do
|
for arg; do
|
||||||
if [[ "$(cat /etc/issue 2>/dev/null || true)" == "$1"* ]]; then
|
if [[ "$(cat /etc/issue 2>/dev/null || true)" == "$arg"* ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
{ echo
|
{ echo
|
||||||
colorize 1 "WARNING"
|
colorize 1 "WARNING"
|
||||||
echo ": This binary distribution is built for $1."
|
echo ": This binary distribution is built for the following distro(s): $@."
|
||||||
echo "installed binary may not run expectedly on other platforms."
|
echo "installed binary may not run expectedly on other platforms."
|
||||||
echo
|
echo
|
||||||
} >&2
|
} >&2
|
||||||
@@ -1187,7 +1283,6 @@ use_homebrew_readline() {
|
|||||||
has_broken_mac_openssl() {
|
has_broken_mac_openssl() {
|
||||||
[ "$(uname -s)" = "Darwin" ] &&
|
[ "$(uname -s)" = "Darwin" ] &&
|
||||||
[[ "$(/usr/bin/openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8"?* ]] &&
|
[[ "$(/usr/bin/openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8"?* ]] &&
|
||||||
[[ "$RUBY_CONFIGURE_OPTS" != *--with-openssl-dir=* ]] &&
|
|
||||||
! use_homebrew_openssl
|
! use_homebrew_openssl
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1246,11 +1341,16 @@ build_package_verify_openssl() {
|
|||||||
|
|
||||||
# Ensure that directories listed in LDFLAGS exist
|
# Ensure that directories listed in LDFLAGS exist
|
||||||
build_package_ldflags_dirs() {
|
build_package_ldflags_dirs() {
|
||||||
local arg
|
local arg dir
|
||||||
for arg in $LDFLAGS; do
|
set - $LDFLAGS
|
||||||
case "$arg" in
|
while [ $# -gt 0 ]; do
|
||||||
-L* ) mkdir -p "${arg#-L}" ;;
|
dir=""
|
||||||
|
case "$1" in
|
||||||
|
-L ) dir="$2" ;;
|
||||||
|
-L* ) dir="${1#-L}" ;;
|
||||||
esac
|
esac
|
||||||
|
[ -z "$dir" ] || mkdir -p "$dir"
|
||||||
|
shift 1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1320,13 +1420,21 @@ verify_python() {
|
|||||||
# Not create symlinks on `altinstall` (#255)
|
# Not create symlinks on `altinstall` (#255)
|
||||||
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
|
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
|
||||||
local suffix="${1#python}"
|
local suffix="${1#python}"
|
||||||
local file
|
local file link
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
for file in "${PREFIX_PATH}/bin"/*; do
|
for file in "${PREFIX_PATH}/bin"/*; do
|
||||||
local link
|
unset link
|
||||||
case "${file}" in
|
case "${file}" in
|
||||||
*"-${suffix}" ) link="${file%%-${suffix}}" ;;
|
*/"python${suffix}-config" )
|
||||||
*"${suffix}" ) link="${file%%${suffix}}" ;;
|
# Symlink `pythonX.Y-config` to `python-config` if `python-config` is missing (#296)
|
||||||
|
link="${file%/*}/python-config"
|
||||||
|
;;
|
||||||
|
*/*"-${suffix}" )
|
||||||
|
link="${file%%-${suffix}}"
|
||||||
|
;;
|
||||||
|
*/*"${suffix}" )
|
||||||
|
link="${file%%${suffix}}"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
if [ -n "$link" ] && [ ! -e "$link" ]; then
|
if [ -n "$link" ] && [ ! -e "$link" ]; then
|
||||||
( cd "${file%/*}" && ln -fs "${file##*/}" "${link##*/}" )
|
( cd "${file%/*}" && ln -fs "${file##*/}" "${link##*/}" )
|
||||||
@@ -1462,6 +1570,11 @@ build_package_verify_py35() {
|
|||||||
build_package_verify_py34 "$1" "${2:-3.5}"
|
build_package_verify_py34 "$1" "${2:-3.5}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Post-install check for Python 3.6.x
|
||||||
|
build_package_verify_py36() {
|
||||||
|
build_package_verify_py35 "$1" "${2:-3.6}"
|
||||||
|
}
|
||||||
|
|
||||||
build_package_ez_setup() {
|
build_package_ez_setup() {
|
||||||
local ez_setup="${BUILD_PATH}/ez_setup.py"
|
local ez_setup="${BUILD_PATH}/ez_setup.py"
|
||||||
rm -f "${ez_setup}"
|
rm -f "${ez_setup}"
|
||||||
@@ -1492,7 +1605,7 @@ build_package_get_pip() {
|
|||||||
http get "${GET_PIP_URL}"
|
http get "${GET_PIP_URL}"
|
||||||
fi
|
fi
|
||||||
} 1> "${get_pip}"
|
} 1> "${get_pip}"
|
||||||
"${PYTHON_BIN}" "${get_pip}" ${GET_PIP_OPTS} 1>&4 2>&1 || {
|
"${PYTHON_BIN}" -s "${get_pip}" ${GET_PIP_OPTS} 1>&4 2>&1 || {
|
||||||
echo "error: failed to install pip via get-pip.py" >&2
|
echo "error: failed to install pip via get-pip.py" >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
@@ -1500,12 +1613,12 @@ build_package_get_pip() {
|
|||||||
|
|
||||||
build_package_ensurepip() {
|
build_package_ensurepip() {
|
||||||
local ensurepip_opts
|
local ensurepip_opts
|
||||||
if [[ "$PYTHON_MAKE_INSTALL_TARGET" != *"altinstall"* ]]; then
|
# Install as `--altinstall` if the Python is installed as `altinstall` (#255)
|
||||||
|
if [[ "$PYTHON_MAKE_INSTALL_TARGET" == *"altinstall"* ]]; then
|
||||||
ensurepip_opts="--altinstall"
|
ensurepip_opts="--altinstall"
|
||||||
fi
|
fi
|
||||||
"$PYTHON_BIN" -m ensurepip $ensurepip_opts 1>/dev/null 2>&1 || {
|
# FIXME: `--altinstall` with `get-pip.py`
|
||||||
build_package_ez_setup "$@" && build_package_get_pip "$@"
|
"$PYTHON_BIN" -s -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1
|
||||||
} || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
@@ -1519,14 +1632,8 @@ version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
{ version
|
sed -ne '/^#/!q;s/.\{1,2\}//;1,2d;p' < "$0"
|
||||||
echo "usage: python-build [-k|--keep] [-v|--verbose] [-p|--patch] [-g|--debug] definition prefix"
|
[ -z "$1" ] || exit "$1"
|
||||||
echo " python-build --definitions"
|
|
||||||
} >&2
|
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
list_definitions() {
|
list_definitions() {
|
||||||
@@ -1546,10 +1653,11 @@ unset VERBOSE
|
|||||||
unset KEEP_BUILD_PATH
|
unset KEEP_BUILD_PATH
|
||||||
unset HAS_PATCH
|
unset HAS_PATCH
|
||||||
unset DEBUG
|
unset DEBUG
|
||||||
|
unset IPV4
|
||||||
|
unset IPV6
|
||||||
|
|
||||||
PYTHON_BUILD_INSTALL_PREFIX="$(abs_dirname "$0")/.."
|
PYTHON_BUILD_INSTALL_PREFIX="$(abs_dirname "$0")/.."
|
||||||
|
|
||||||
OLDIFS="$IFS"
|
|
||||||
IFS=: PYTHON_BUILD_DEFINITIONS=($PYTHON_BUILD_DEFINITIONS ${PYTHON_BUILD_ROOT:-$PYTHON_BUILD_INSTALL_PREFIX}/share/python-build)
|
IFS=: PYTHON_BUILD_DEFINITIONS=($PYTHON_BUILD_DEFINITIONS ${PYTHON_BUILD_ROOT:-$PYTHON_BUILD_INSTALL_PREFIX}/share/python-build)
|
||||||
IFS="$OLDIFS"
|
IFS="$OLDIFS"
|
||||||
|
|
||||||
@@ -1558,16 +1666,9 @@ parse_options "$@"
|
|||||||
for option in "${OPTIONS[@]}"; do
|
for option in "${OPTIONS[@]}"; do
|
||||||
case "$option" in
|
case "$option" in
|
||||||
"h" | "help" )
|
"h" | "help" )
|
||||||
usage without_exiting
|
version
|
||||||
{ echo
|
echo
|
||||||
echo " -k/--keep Do not remove source tree after installation"
|
usage 0
|
||||||
echo " -v/--verbose Verbose mode: print compilation status to stdout"
|
|
||||||
echo " -p/--patch Apply a patch from stdin before building"
|
|
||||||
echo " -g/--debug Build a debug version"
|
|
||||||
echo " --definitions List all built-in definitions"
|
|
||||||
echo
|
|
||||||
} >&2
|
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
"definitions" )
|
"definitions" )
|
||||||
list_definitions
|
list_definitions
|
||||||
@@ -1585,6 +1686,12 @@ for option in "${OPTIONS[@]}"; do
|
|||||||
"g" | "debug" )
|
"g" | "debug" )
|
||||||
DEBUG=true
|
DEBUG=true
|
||||||
;;
|
;;
|
||||||
|
"4" | "ipv4")
|
||||||
|
IPV4=true
|
||||||
|
;;
|
||||||
|
"6" | "ipv6")
|
||||||
|
IPV6=true
|
||||||
|
;;
|
||||||
"version" )
|
"version" )
|
||||||
version
|
version
|
||||||
exit 0
|
exit 0
|
||||||
@@ -1592,9 +1699,11 @@ for option in "${OPTIONS[@]}"; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[ "${#ARGUMENTS[@]}" -eq 2 ] || usage 1 >&2
|
||||||
|
|
||||||
DEFINITION_PATH="${ARGUMENTS[0]}"
|
DEFINITION_PATH="${ARGUMENTS[0]}"
|
||||||
if [ -z "$DEFINITION_PATH" ]; then
|
if [ -z "$DEFINITION_PATH" ]; then
|
||||||
usage
|
usage 1 >&2
|
||||||
elif [ ! -f "$DEFINITION_PATH" ]; then
|
elif [ ! -f "$DEFINITION_PATH" ]; then
|
||||||
for DEFINITION_DIR in "${PYTHON_BUILD_DEFINITIONS[@]}"; do
|
for DEFINITION_DIR in "${PYTHON_BUILD_DEFINITIONS[@]}"; do
|
||||||
if [ -f "${DEFINITION_DIR}/${DEFINITION_PATH}" ]; then
|
if [ -f "${DEFINITION_DIR}/${DEFINITION_PATH}" ]; then
|
||||||
@@ -1611,7 +1720,7 @@ fi
|
|||||||
|
|
||||||
PREFIX_PATH="${ARGUMENTS[1]}"
|
PREFIX_PATH="${ARGUMENTS[1]}"
|
||||||
if [ -z "$PREFIX_PATH" ]; then
|
if [ -z "$PREFIX_PATH" ]; then
|
||||||
usage
|
usage 1 >&2
|
||||||
elif [ "${PREFIX_PATH#/}" = "$PREFIX_PATH" ]; then
|
elif [ "${PREFIX_PATH#/}" = "$PREFIX_PATH" ]; then
|
||||||
PREFIX_PATH="${PWD}/${PREFIX_PATH}"
|
PREFIX_PATH="${PWD}/${PREFIX_PATH}"
|
||||||
fi
|
fi
|
||||||
@@ -1694,6 +1803,9 @@ if [ -n "$DEBUG" ]; then
|
|||||||
package_option python configure --with-pydebug
|
package_option python configure --with-pydebug
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# python-build: Specify `--libdir` on configure to fix build on openSUSE (#36)
|
||||||
|
package_option python configure --libdir="${PREFIX_PATH}/lib"
|
||||||
|
|
||||||
# python-build: Set `RPATH` if `--enable-shared` was given (#65, #66, #82)
|
# python-build: Set `RPATH` if `--enable-shared` was given (#65, #66, #82)
|
||||||
if [[ "$CONFIGURE_OPTS" == *"--enable-shared"* ]] || [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-shared"* ]]; then
|
if [[ "$CONFIGURE_OPTS" == *"--enable-shared"* ]] || [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-shared"* ]]; then
|
||||||
# The ld on Darwin embeds the full paths to each dylib by default
|
# The ld on Darwin embeds the full paths to each dylib by default
|
||||||
@@ -1763,10 +1875,12 @@ fi
|
|||||||
|
|
||||||
# Set MACOSX_DEPLOYMENT_TARGET from the product version of OS X (#219, #220)
|
# Set MACOSX_DEPLOYMENT_TARGET from the product version of OS X (#219, #220)
|
||||||
if [[ "Darwin" == "$(uname -s)" ]]; then
|
if [[ "Darwin" == "$(uname -s)" ]]; then
|
||||||
MACOS_VERSION="$(sw_vers -productVersion 2>/dev/null || true)"
|
if [ -z "${MACOSX_DEPLOYMENT_TARGET}" ]; then
|
||||||
MACOS_VERSION_ARRAY=(${MACOS_VERSION//\./ })
|
MACOS_VERSION="$(sw_vers -productVersion 2>/dev/null || true)"
|
||||||
if [ "${#MACOS_VERSION_ARRAY[@]}" -ge 2 ]; then
|
MACOS_VERSION_ARRAY=(${MACOS_VERSION//\./ })
|
||||||
export MACOSX_DEPLOYMENT_TARGET="${MACOS_VERSION_ARRAY[0]}.${MACOS_VERSION_ARRAY[1]}"
|
if [ "${#MACOS_VERSION_ARRAY[@]}" -ge 2 ]; then
|
||||||
|
export MACOSX_DEPLOYMENT_TARGET="${MACOS_VERSION_ARRAY[0]}.${MACOS_VERSION_ARRAY[1]}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.6" "http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz#372f66db46d773214e4619df1794a26449158f626138d4d2141a64c2f017fae1" ldflags_dirs standard verify_py26 ensurepip
|
install_package "Python-2.6.6" "http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz#372f66db46d773214e4619df1794a26449158f626138d4d2141a64c2f017fae1" ldflags_dirs standard verify_py26 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.7" "http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz#a8093eace4cfd3e06b05f0deb5d765e3c6cec65908048640a8cadd7a948b3826" ldflags_dirs standard verify_py26 ensurepip
|
install_package "Python-2.6.7" "http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz#a8093eace4cfd3e06b05f0deb5d765e3c6cec65908048640a8cadd7a948b3826" ldflags_dirs standard verify_py26 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.8" "http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz#5bf02a75ffa2fcaa5a3cabb8201998519b045541975622316888ea468d9512f7" ldflags_dirs standard verify_py26 ensurepip
|
install_package "Python-2.6.8" "http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz#5bf02a75ffa2fcaa5a3cabb8201998519b045541975622316888ea468d9512f7" ldflags_dirs standard verify_py26 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.6.9" "http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz#7277b1285d8a82f374ef6ebaac85b003266f7939b3f2a24a3af52f9523ac94db" ldflags_dirs standard verify_py26 ensurepip
|
install_package "Python-2.6.9" "http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz#7277b1285d8a82f374ef6ebaac85b003266f7939b3f2a24a3af52f9523ac94db" ldflags_dirs standard verify_py26 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7" "http://python.org/ftp/python/2.7/Python-2.7.tgz#5670dd6c0c93b0b529781d070852f7b51ce6855615b16afcd318341af2910fb5" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7" "http://python.org/ftp/python/2.7/Python-2.7.tgz#5670dd6c0c93b0b529781d070852f7b51ce6855615b16afcd318341af2910fb5" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-2.7-dev" "https://bitbucket.org/mirror/cpython" "2.7" standard verify_py27 ensurepip
|
install_hg "Python-2.7-dev" "https://hg.python.org/cpython" "2.7" standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.1" "http://python.org/ftp/python/2.7.1/Python-2.7.1.tgz#ca13e7b1860821494f70de017202283ad73b1fb7bd88586401c54ef958226ec8" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.1" "http://python.org/ftp/python/2.7.1/Python-2.7.1.tgz#ca13e7b1860821494f70de017202283ad73b1fb7bd88586401c54ef958226ec8" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
4
plugins/python-build/share/python-build/2.7.10
Normal file
4
plugins/python-build/share/python-build/2.7.10
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-2.7.10" "https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz#eda8ce6eec03e74991abb5384170e7c65fcd7522e409b8e83d7e6372add0f12a" ldflags_dirs standard verify_py27 ensurepip
|
||||||
4
plugins/python-build/share/python-build/2.7.11
Normal file
4
plugins/python-build/share/python-build/2.7.11
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-2.7.11" "https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz#82929b96fd6afc8da838b149107078c02fa1744b7e60999a8babbc0d3fa86fc6" ldflags_dirs standard verify_py27 ensurepip
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.2" "http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz#1d54b7096c17902c3f40ffce7e5b84e0072d0144024184fff184a84d563abbb3" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.2" "http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz#1d54b7096c17902c3f40ffce7e5b84e0072d0144024184fff184a84d563abbb3" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.3" "http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz#d4c20f2b5faf95999fd5fecb3f7d32071b0820516224a6d2b72932ab47a1cb8e" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.3" "http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz#d4c20f2b5faf95999fd5fecb3f7d32071b0820516224a6d2b72932ab47a1cb8e" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.4" "http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz#98c5eb9c8e65effcc0122112ba17a0bce880aa23ecb560af56b55eb55632b81a" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.4" "http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz#98c5eb9c8e65effcc0122112ba17a0bce880aa23ecb560af56b55eb55632b81a" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.5" "http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz#8e1b5fa87b91835afb376a9c0d319d41feca07ffebc0288d97ab08d64f48afbf" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.5" "http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz#8e1b5fa87b91835afb376a9c0d319d41feca07ffebc0288d97ab08d64f48afbf" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.6" "http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz#99c6860b70977befa1590029fae092ddb18db1d69ae67e8b9385b66ed104ba58" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.6" "http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz#99c6860b70977befa1590029fae092ddb18db1d69ae67e8b9385b66ed104ba58" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.7" "https://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz#7f49c0a6705ad89d925181e27d0aaa025ee4731ce0de64776c722216c3e66c42" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.7" "https://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz#7f49c0a6705ad89d925181e27d0aaa025ee4731ce0de64776c722216c3e66c42" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.8" "https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz#74d70b914da4487aa1d97222b29e9554d042f825f26cb2b93abd20fdda56b557" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.8" "https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz#74d70b914da4487aa1d97222b29e9554d042f825f26cb2b93abd20fdda56b557" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-2.7.9" "https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz#c8bba33e66ac3201dabdc556f0ea7cfe6ac11946ec32d357c4c6f9b018c12c5b" ldflags_dirs standard verify_py27 ensurepip
|
install_package "Python-2.7.9" "https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz#c8bba33e66ac3201dabdc556f0ea7cfe6ac11946ec32d357c4c6f9b018c12c5b" ldflags_dirs standard verify_py27 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.0.1" "http://python.org/ftp/python/3.0.1/Python-3.0.1.tgz#7d5f2feae9035f1d3d9e6bb7f092dbf374d6bb4b25abd0d2d11f13bba1cb04de" ldflags_dirs standard verify_py30 ensurepip
|
install_package "Python-3.0.1" "http://python.org/ftp/python/3.0.1/Python-3.0.1.tgz#7d5f2feae9035f1d3d9e6bb7f092dbf374d6bb4b25abd0d2d11f13bba1cb04de" ldflags_dirs standard verify_py30
|
||||||
|
if [[ "Darwin" == "$(uname -s)" ]]; then
|
||||||
|
# https://github.com/yyuu/pyenv/issues/456
|
||||||
|
{ echo
|
||||||
|
colorize 1 "WARNING"
|
||||||
|
echo ": pyenv cannot install setuptools-1.4.2 to CPython 3.0.1 on OS X."
|
||||||
|
echo "setuptools and pip will not be available until you install them manually."
|
||||||
|
} >&2
|
||||||
|
else
|
||||||
|
install_package "setuptools-1.4.2" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz#263986a60a83aba790a5bffc7d009ac88114ba4e908e5c90e453b3bf2155dbbd" python
|
||||||
|
install_package "pip-1.3.1" "https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#145eaa5d1ea1b062663da1f3a97780d7edea4c63c68a37c463b1deedf7bb4957" python
|
||||||
|
fi
|
||||||
|
|||||||
5
plugins/python-build/share/python-build/3.1
Normal file
5
plugins/python-build/share/python-build/3.1
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.1" "http://python.org/ftp/python/3.1/Python-3.1.tgz#99a034cf574ea3c26412b0a0728126d7fd6ea9593d099d807a25d216ed031e6a" ldflags_dirs standard verify_py31 ez_setup
|
||||||
|
install_package "pip-1.5.6" "https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" python
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#require_gcc
|
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
|
||||||
install_hg "Python-3.1-dev" "https://bitbucket.org/mirror/cpython" "3.1" standard verify_py31 ensurepip
|
|
||||||
5
plugins/python-build/share/python-build/3.1.1
Normal file
5
plugins/python-build/share/python-build/3.1.1
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.1.1" "http://python.org/ftp/python/3.1.1/Python-3.1.1.tgz#5d85d7bff11c4db44920af99f64f4227c816f897f6bfa9dd8a2611165ca5f0a1" ldflags_dirs standard verify_py31 ez_setup
|
||||||
|
install_package "pip-1.5.6" "https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" python
|
||||||
5
plugins/python-build/share/python-build/3.1.2
Normal file
5
plugins/python-build/share/python-build/3.1.2
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.1.2" "http://python.org/ftp/python/3.1.2/Python-3.1.2.tgz#dffbc0561a161a4a576c6059e6990a9859a0be16ba9b5736eabe4abbb2700d1c" ldflags_dirs standard verify_py31 ez_setup
|
||||||
|
install_package "pip-1.5.6" "https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" python
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.1.3" "http://python.org/ftp/python/3.1.3/Python-3.1.3.tgz#6311823aeda8be6a7a2b67caaeff48abce6626c9940ba7ed81f9c978666a36bd" ldflags_dirs standard verify_py31 ensurepip
|
install_package "Python-3.1.3" "http://python.org/ftp/python/3.1.3/Python-3.1.3.tgz#6311823aeda8be6a7a2b67caaeff48abce6626c9940ba7ed81f9c978666a36bd" ldflags_dirs standard verify_py31 ez_setup
|
||||||
|
install_package "pip-1.5.6" "https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" python
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.1.4" "http://python.org/ftp/python/3.1.4/Python-3.1.4.tgz#fadc05ea6d05360cff189944a85ecd2180bbc308784d168b350450e70bbdd846" ldflags_dirs standard verify_py31 ensurepip
|
install_package "Python-3.1.4" "http://python.org/ftp/python/3.1.4/Python-3.1.4.tgz#fadc05ea6d05360cff189944a85ecd2180bbc308784d168b350450e70bbdd846" ldflags_dirs standard verify_py31 ez_setup
|
||||||
|
install_package "pip-1.5.6" "https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" python
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.1.5" "http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz#d12dae6d06f52ef6bf1271db4d5b4d14b5dd39813e324314e72b648ef1bc0103" ldflags_dirs standard verify_py31 ensurepip
|
install_package "Python-3.1.5" "http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz#d12dae6d06f52ef6bf1271db4d5b4d14b5dd39813e324314e72b648ef1bc0103" ldflags_dirs standard verify_py31 ez_setup
|
||||||
|
install_package "pip-1.5.6" "https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz#b1a4ae66baf21b7eb05a5e4f37c50c2706fa28ea1f8780ce8efe14dcd9f1726c" python
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2" "http://python.org/ftp/python/3.2/Python-3.2.tgz#27b35bfcbbf01de9564c0265d72b58ba3ff3d56df0615765372f2aa09dc20da9" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2" "http://python.org/ftp/python/3.2/Python-3.2.tgz#27b35bfcbbf01de9564c0265d72b58ba3ff3d56df0615765372f2aa09dc20da9" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.2-dev" "https://bitbucket.org/mirror/cpython" "3.2" standard verify_py32 ensurepip
|
install_hg "Python-3.2-dev" "https://hg.python.org/cpython" "3.2" standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.1" "http://python.org/ftp/python/3.2.1/Python-3.2.1.tgz#7cff29d984696d9fe8c7bea54da5b9ad36acef33ff5cf0d3e37e4d12fb21c572" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2.1" "http://python.org/ftp/python/3.2.1/Python-3.2.1.tgz#7cff29d984696d9fe8c7bea54da5b9ad36acef33ff5cf0d3e37e4d12fb21c572" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.2" "http://python.org/ftp/python/3.2.2/Python-3.2.2.tgz#acc6a13cb4fed0b7e86716324a8437e326645b8076177eede5a0cad99ec0313c" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2.2" "http://python.org/ftp/python/3.2.2/Python-3.2.2.tgz#acc6a13cb4fed0b7e86716324a8437e326645b8076177eede5a0cad99ec0313c" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.3" "http://python.org/ftp/python/3.2.3/Python-3.2.3.tgz#74c33e165edef7532cef95fd9a325a06878b5bfc8a5d038161573f283eaf9809" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2.3" "http://python.org/ftp/python/3.2.3/Python-3.2.3.tgz#74c33e165edef7532cef95fd9a325a06878b5bfc8a5d038161573f283eaf9809" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.4" "http://python.org/ftp/python/3.2.4/Python-3.2.4.tgz#71c3139908ccc1c544ba1e331a3c22b3f1c09f562438a054fd6f4e2628de8b9a" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2.4" "http://python.org/ftp/python/3.2.4/Python-3.2.4.tgz#71c3139908ccc1c544ba1e331a3c22b3f1c09f562438a054fd6f4e2628de8b9a" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.5" "http://python.org/ftp/python/3.2.5/Python-3.2.5.tgz#5eae0ab92a0bb9e3a1bf9c7cd046bc3de58996b049bd894d095978b6b085099f" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2.5" "http://python.org/ftp/python/3.2.5/Python-3.2.5.tgz#5eae0ab92a0bb9e3a1bf9c7cd046bc3de58996b049bd894d095978b6b085099f" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.2.6" "https://www.python.org/ftp/python/3.2.6/Python-3.2.6.tgz#fc1e41296e29d476f696303acae293ae7a2310f0f9d0d637905e722a3f16163e" ldflags_dirs standard verify_py32 ensurepip
|
install_package "Python-3.2.6" "https://www.python.org/ftp/python/3.2.6/Python-3.2.6.tgz#fc1e41296e29d476f696303acae293ae7a2310f0f9d0d637905e722a3f16163e" ldflags_dirs standard verify_py32 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.3-dev" "https://bitbucket.org/mirror/cpython" "3.3" standard verify_py33 ensurepip
|
install_hg "Python-3.3-dev" "https://hg.python.org/cpython" "3.3" standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.0" "http://python.org/ftp/python/3.3.0/Python-3.3.0.tgz#cfe531eaace2503e13a74addc7f4a89482e99f8b8fca51b469ae5c83f450604e" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.0" "http://python.org/ftp/python/3.3.0/Python-3.3.0.tgz#cfe531eaace2503e13a74addc7f4a89482e99f8b8fca51b469ae5c83f450604e" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.1" "http://python.org/ftp/python/3.3.1/Python-3.3.1.tgz#671dc3632f311e63c6733703aa0a1ad90c99277ddc8299d39e487718a50319bd" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.1" "http://python.org/ftp/python/3.3.1/Python-3.3.1.tgz#671dc3632f311e63c6733703aa0a1ad90c99277ddc8299d39e487718a50319bd" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.2" "http://python.org/ftp/python/3.3.2/Python-3.3.2.tgz#de664fca3b8e0ab20fb42bfed1a36e26f116f1853e88ada12dbc938761036172" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.2" "http://python.org/ftp/python/3.3.2/Python-3.3.2.tgz#de664fca3b8e0ab20fb42bfed1a36e26f116f1853e88ada12dbc938761036172" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.3" "http://python.org/ftp/python/3.3.3/Python-3.3.3.tgz#30b60839bfe0ae8a2dba11e909328459bb8ee4a258afe7494b06b2ceda080efc" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.3" "http://python.org/ftp/python/3.3.3/Python-3.3.3.tgz#30b60839bfe0ae8a2dba11e909328459bb8ee4a258afe7494b06b2ceda080efc" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.4" "http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz#ea055db9dd004a6ecd7690abc9734573763686dd768122316bae2dfd026412af" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.4" "http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz#ea055db9dd004a6ecd7690abc9734573763686dd768122316bae2dfd026412af" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.5" "http://python.org/ftp/python/3.3.5/Python-3.3.5.tgz#916bc57dd8524dc27429bebae7b39d6942742cf9699b875b2b496a3d960c7168" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.5" "http://python.org/ftp/python/3.3.5/Python-3.3.5.tgz#916bc57dd8524dc27429bebae7b39d6942742cf9699b875b2b496a3d960c7168" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.3.6" "https://www.python.org/ftp/python/3.3.6/Python-3.3.6.tgz#0a58ad1f1def4ecc90b18b0c410a3a0e1a48cf7692c75d1f83d0af080e5d2034" ldflags_dirs standard verify_py33 ensurepip
|
install_package "Python-3.3.6" "https://www.python.org/ftp/python/3.3.6/Python-3.3.6.tgz#0a58ad1f1def4ecc90b18b0c410a3a0e1a48cf7692c75d1f83d0af080e5d2034" ldflags_dirs standard verify_py33 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.4-dev" "https://bitbucket.org/mirror/cpython" "3.4" standard verify_py34 ensurepip
|
install_hg "Python-3.4-dev" "https://hg.python.org/cpython" "3.4" standard verify_py34 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.4.0" "https://www.python.org/ftp/python/3.4.0/Python-3.4.0.tgz#d2c83ea0217769a73e8b1ee33ffbca814903f8568e30f8d13e68e3d1f743449c" ldflags_dirs standard verify_py34 ensurepip
|
install_package "Python-3.4.0" "https://www.python.org/ftp/python/3.4.0/Python-3.4.0.tgz#d2c83ea0217769a73e8b1ee33ffbca814903f8568e30f8d13e68e3d1f743449c" ldflags_dirs standard verify_py34 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.4.1" "https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz#8d007e3ef80b128a292be101201e75dec5480e5632e994771e7c231d17720b66" ldflags_dirs standard verify_py34 ensurepip
|
install_package "Python-3.4.1" "https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz#8d007e3ef80b128a292be101201e75dec5480e5632e994771e7c231d17720b66" ldflags_dirs standard verify_py34 ensurepip
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_package "Python-3.4.2" "https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz#44a3c1ef1c7ca3e4fd25242af80ed72da941203cb4ed1a8c1b724d9078965dd8" ldflags_dirs standard verify_py34 ensurepip
|
install_package "Python-3.4.2" "https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz#44a3c1ef1c7ca3e4fd25242af80ed72da941203cb4ed1a8c1b724d9078965dd8" ldflags_dirs standard verify_py34 ensurepip
|
||||||
|
|||||||
4
plugins/python-build/share/python-build/3.4.3
Normal file
4
plugins/python-build/share/python-build/3.4.3
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.4.3" "https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz#4281ff86778db65892c05151d5de738d" ldflags_dirs standard verify_py34 ensurepip
|
||||||
4
plugins/python-build/share/python-build/3.4.4rc1
Normal file
4
plugins/python-build/share/python-build/3.4.4rc1
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.4.4" "https://www.python.org/ftp/python/3.4.4/Python-3.4.4rc1.tgz#5b9a84458e24bb2cd4bb1c0d9db7869bd7a4342f7bd4269cffa2f6b77a53b7cf" ldflags_dirs standard verify_py34 ensurepip
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
#require_gcc
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
install_hg "Python-3.5-dev" "https://bitbucket.org/mirror/cpython" "default" standard verify_py35 ensurepip
|
install_hg "Python-3.5-dev" "https://hg.python.org/cpython" "3.5" standard verify_py35 ensurepip
|
||||||
|
|||||||
4
plugins/python-build/share/python-build/3.5.0
Normal file
4
plugins/python-build/share/python-build/3.5.0
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.5.0" "https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz#584e3d5a02692ca52fce505e68ecd77248a6f2c99adf9db144a39087336b0fe0" ldflags_dirs standard verify_py35 ensurepip
|
||||||
4
plugins/python-build/share/python-build/3.5.1
Normal file
4
plugins/python-build/share/python-build/3.5.1
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_package "Python-3.5.1" "https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz#687e067d9f391da645423c7eda8205bae9d35edc0c76ef5218dcbe4cc770d0d7" ldflags_dirs standard verify_py35 ensurepip
|
||||||
4
plugins/python-build/share/python-build/3.6-dev
Normal file
4
plugins/python-build/share/python-build/3.6-dev
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#require_gcc
|
||||||
|
install_package "openssl-1.0.1q" "https://www.openssl.org/source/openssl-1.0.1q.tar.gz#b3658b84e9ea606a5ded3c972a5517cd785282e7ea86b20c78aa4b773a047fb7" mac_openssl --if has_broken_mac_openssl
|
||||||
|
install_package "readline-6.3" "http://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||||
|
install_hg "Python-3.6-dev" "https://hg.python.org/cpython" "default" standard verify_py36 ensurepip
|
||||||
19
plugins/python-build/share/python-build/anaconda-2.2.0
Normal file
19
plugins/python-build/share/python-build/anaconda-2.2.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda-2.2.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-2.2.0-Linux-x86.sh#6437d5b08a19c3501f2f5dc3ae1ae16f91adf6bed0f067ef0806a9911b1bef15" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda-2.2.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-2.2.0-Linux-x86_64.sh#ca2582cb2188073b0f348ad42207211a2b85c10b244265b5b27bab04481b88a2" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda-2.2.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-2.2.0-MacOSX-x86_64.sh#20570e2f3911e38a78d8f888f3ff445d6c0cf97a2fca40d6956b48d12aaef339" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda-2.3.0
Normal file
19
plugins/python-build/share/python-build/anaconda-2.3.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda-2.3.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda-2.3.0-Linux-x86.sh#73fdbbb3e38207ed18e5059f71676d18d48fdccbc455a1272eb45a60376cd818" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda-2.3.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda-2.3.0-Linux-x86_64.sh#7c02499e9511c127d225992cfe1cd815e88fd46cd8a5b3cdf764f3fb4d8d4576" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda-2.3.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda-2.3.0-MacOSX-x86_64.sh#c4bb59a57bf44dde80612041bbbcfd2e5cab8534842209ef456da7a46f919c33" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda-2.4.0
Normal file
19
plugins/python-build/share/python-build/anaconda-2.4.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda-2.4.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda2-2.4.0-Linux-x86.sh#478a8fdde3a6e4040a68c57d7bdd6fab1a4f7f6e813948d46dad54867014c124" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda-2.4.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda2-2.4.0-Linux-x86_64.sh#49d19834da06b1b82b6fa85bc647d2e78fa5957d0cbae3ccd6c695a541befa6b" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda-2.4.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda2-2.4.0-MacOSX-x86_64.sh#53c9123c9d508555100805fdb44d9845511c937e7a34f237beb19168d655e070" "anaconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Linux-x86" )
|
"Linux-x86" )
|
||||||
install_script "Anaconda3-2.0.0-Linux-x86" "http://repo.continuum.io/anaconda3/Anaconda3-2.0.0-Linux-x86.sh#439761159d5604e182951650a478dd53caff52e9dccf17c20ae66689b7b289dd" "anaconda" verify_py34
|
install_script "Anaconda3-2.0.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda3-2.0.0-Linux-x86.sh#439761159d5604e182951650a478dd53caff52e9dccf17c20ae66689b7b289dd" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
"Linux-x86_64" )
|
"Linux-x86_64" )
|
||||||
install_script "Anaconda3-2.0.0-Linux-x86_64" "http://repo.continuum.io/anaconda3/Anaconda3-2.0.0-Linux-x86_64.sh#57ce4f97e300cf94c5724f72d992e9eecef708fdaa13bc672ae9779773056540" "anaconda" verify_py34
|
install_script "Anaconda3-2.0.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.0.0-Linux-x86_64.sh#57ce4f97e300cf94c5724f72d992e9eecef708fdaa13bc672ae9779773056540" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
"MacOSX-x86_64" )
|
"MacOSX-x86_64" )
|
||||||
install_script "Anaconda3-2.0.0-MacOSX-x86_64" "http://repo.continuum.io/anaconda3/Anaconda3-2.0.0-MacOSX-x86_64.sh#776a1cf8a8e898b41bb6558c093632cc922698dc48486fee35d1e8eae3f604fa" "anaconda" verify_py34
|
install_script "Anaconda3-2.0.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.0.0-MacOSX-x86_64.sh#776a1cf8a8e898b41bb6558c093632cc922698dc48486fee35d1e8eae3f604fa" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
{ echo
|
{ echo
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Linux-x86" )
|
"Linux-x86" )
|
||||||
install_script "Anaconda3-2.0.1-Linux-x86" "http://repo.continuum.io/anaconda3/Anaconda3-2.0.1-Linux-x86.sh#21293fabbd3d5cfbb1afe0c9a8b39e0bc4d283cd7dbe3c84a60b335481a41ef3" "anaconda" verify_py34
|
install_script "Anaconda3-2.0.1-Linux-x86" "http://repo.continuum.io/archive/Anaconda3-2.0.1-Linux-x86.sh#21293fabbd3d5cfbb1afe0c9a8b39e0bc4d283cd7dbe3c84a60b335481a41ef3" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
"Linux-x86_64" )
|
"Linux-x86_64" )
|
||||||
install_script "Anaconda3-2.0.1-Linux-x86_64" "http://repo.continuum.io/anaconda3/Anaconda3-2.0.1-Linux-x86_64.sh#3c3b834793e461f3316ad1d9a9178c67859a9d74aaf7bcade076f04134dd1e26" "anaconda" verify_py34
|
install_script "Anaconda3-2.0.1-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.0.1-Linux-x86_64.sh#3c3b834793e461f3316ad1d9a9178c67859a9d74aaf7bcade076f04134dd1e26" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
"MacOSX-x86_64" )
|
"MacOSX-x86_64" )
|
||||||
install_script "Anaconda3-2.0.1-MacOSX-x86_64" "http://repo.continuum.io/anaconda3/Anaconda3-2.0.1-MacOSX-x86_64.sh#7a08509d4e45efcc7055a6d06d8406a773716500bd869a4e85312ff131155bd6" "anaconda" verify_py34
|
install_script "Anaconda3-2.0.1-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.0.1-MacOSX-x86_64.sh#7a08509d4e45efcc7055a6d06d8406a773716500bd869a4e85312ff131155bd6" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
{ echo
|
{ echo
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
"Linux-x86" )
|
"Linux-x86" )
|
||||||
install_script "Anaconda3-2.1.0-Linux-x86" "http://repo.continuum.io/anaconda3/Anaconda3-2.1.0-Linux-x86.sh#657cb599004c21e37ce693515ea33922e0084fd7c159ef1b96b57c86eed8385f" "anaconda" verify_py34
|
install_script "Anaconda3-2.1.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda3-2.1.0-Linux-x86.sh#657cb599004c21e37ce693515ea33922e0084fd7c159ef1b96b57c86eed8385f" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
"Linux-x86_64" )
|
"Linux-x86_64" )
|
||||||
install_script "Anaconda3-2.1.0-Linux-x86_64" "http://repo.continuum.io/anaconda3/Anaconda3-2.1.0-Linux-x86_64.sh#af3225ccbe8df0ffb918939e009aa57740e35058ebf9dfcf5fec794a77556c3c" "anaconda" verify_py34
|
install_script "Anaconda3-2.1.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.1.0-Linux-x86_64.sh#af3225ccbe8df0ffb918939e009aa57740e35058ebf9dfcf5fec794a77556c3c" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
"MacOSX-x86_64" )
|
"MacOSX-x86_64" )
|
||||||
install_script "Anaconda3-2.1.0-MacOSX-x86_64" "http://repo.continuum.io/anaconda3/Anaconda3-2.1.0-MacOSX-x86_64.sh#efdb7e9d1e539cbed62dc3874b0de6a141f36684e6fbc05018e072b217e24077" "anaconda" verify_py34
|
install_script "Anaconda3-2.1.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.1.0-MacOSX-x86_64.sh#efdb7e9d1e539cbed62dc3874b0de6a141f36684e6fbc05018e072b217e24077" "anaconda" verify_py34
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
{ echo
|
{ echo
|
||||||
|
|||||||
19
plugins/python-build/share/python-build/anaconda3-2.2.0
Normal file
19
plugins/python-build/share/python-build/anaconda3-2.2.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda3-2.2.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda3-2.2.0-Linux-x86.sh#223655cd256aa912dfc83ab24570e47bb3808bc3b0c6bd21b5db0fcf2750883e" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda3-2.2.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.2.0-Linux-x86_64.sh#4aac68743e7706adb93f042f970373a6e7e087dbf4b02ac467c94ca4ce33d2d1" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda3-2.2.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.2.0-MacOSX-x86_64.sh#81a2089ea6127717f146454e99ea0be2bd595193e4151bb05b4c15749b1d8124" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda3-2.3.0
Normal file
19
plugins/python-build/share/python-build/anaconda3-2.3.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda3-2.3.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda3-2.3.0-Linux-x86.sh#4cc10d65c303191004ada2b6d75562c8ed84e42bf9871af06440dd956077b555" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda3-2.3.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.3.0-Linux-x86_64.sh#3be5410b2d9db45882c7de07c554cf4f1034becc274ec9074b23fd37a5c87a6f" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda3-2.3.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.3.0-MacOSX-x86_64.sh#6a0c94a49f41f9fda0138c8e966bd7b0a8965d6648fd21ffbd645d1453848ba5" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/anaconda3-2.4.0
Normal file
19
plugins/python-build/share/python-build/anaconda3-2.4.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Anaconda3-2.4.0-Linux-x86" "http://repo.continuum.io/archive/Anaconda3-2.4.0-Linux-x86.sh#f6080c6493cefc603cfeb67aaf6c3c4c6b80a66788f03db48ffd3cfa52017c0a" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Anaconda3-2.4.0-Linux-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.4.0-Linux-x86_64.sh#fb4e480059e991f2fa632b5a9bcdd284c7f0677814cd719c11d524453f96a40d" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Anaconda3-2.4.0-MacOSX-x86_64" "http://repo.continuum.io/archive/Anaconda3-2.4.0-MacOSX-x86_64.sh#f0cd785dbed0bab28dfc08a391c9de1b01633422fa317cb8365513a1ae5ae074" "anaconda" verify_py34
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
2
plugins/python-build/share/python-build/ironpython-2.7.5
Normal file
2
plugins/python-build/share/python-build/ironpython-2.7.5
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
install_zip "IronPython-2.7.5" "https://github.com/IronLanguages/main/releases/download/ipy-2.7.5/IronPython-2.7.5.zip#d2651084a61a43379ce6c031f4f29c5e01ba96d1ff89a5282376dd4b84439b5b" ironpython
|
||||||
|
# FIXME: have not confirmed to install setuptools into IronPython yet
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
require_java
|
|
||||||
install_jar "jython-2.7-beta1" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b1/jython-installer-2.7-b1.jar" jython ez_setup
|
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
|
||||||
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#12a9302acfca62cdc7bc5d83386cac3e0581db61ac39acdb3a4e766a16b88eb1" python
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
require_java
|
|
||||||
install_jar "jython-2.7-beta2" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b2/jython-installer-2.7-b2.jar" jython ez_setup
|
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
|
||||||
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#12a9302acfca62cdc7bc5d83386cac3e0581db61ac39acdb3a4e766a16b88eb1" python
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
require_java
|
|
||||||
install_jar "jython-2.7-beta3" "http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7-b3/jython-installer-2.7-b3.jar" jython ez_setup
|
|
||||||
# pip (>= 1.3) does not work properly since it uses HTTPS for downloads
|
|
||||||
# * https://github.com/yyuu/pyenv/issues/15
|
|
||||||
install_package "pip-1.2.1" "https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#12a9302acfca62cdc7bc5d83386cac3e0581db61ac39acdb3a4e766a16b88eb1" python
|
|
||||||
13
plugins/python-build/share/python-build/jython-2.7.0
Normal file
13
plugins/python-build/share/python-build/jython-2.7.0
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
require_java
|
||||||
|
install_jar "jython-2.7.0" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar#b44352ece72382268a60e2848741c96609a91d796bb9a9c6ebeff62f0c12c9cf" jython
|
||||||
|
|
||||||
|
case "$(pypy_architecture 2>/dev/null || true)" in
|
||||||
|
"osx64"|"win32" )
|
||||||
|
# Jython does not seem to work properly on OSX/windows unless JAVA_HOME is set
|
||||||
|
if [ -z "${JAVA_HOME+defined}" ]; then
|
||||||
|
colorize 1 "WARNING: "
|
||||||
|
echo "Please ensure that your JAVA_HOME environment variable is set correctly!"
|
||||||
|
echo "See http://bugs.jython.org/issue2346 for details."
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
13
plugins/python-build/share/python-build/jython-2.7.1b1
Normal file
13
plugins/python-build/share/python-build/jython-2.7.1b1
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
require_java
|
||||||
|
install_jar "jython-2.7.1b1" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1b1/jython-installer-2.7.1b1.jar#c7a05911fed666c8f9df5bdce50bb5dc75482b7f6b1f1dbe433162d94c960ec3" jython
|
||||||
|
|
||||||
|
case "$(pypy_architecture 2>/dev/null || true)" in
|
||||||
|
"osx64"|"win32" )
|
||||||
|
# Jython does not seem to work properly on OSX/windows unless JAVA_HOME is set
|
||||||
|
if [ -z "${JAVA_HOME+defined}" ]; then
|
||||||
|
colorize 1 "WARNING: "
|
||||||
|
echo "Please ensure that your JAVA_HOME environment variable is set correctly!"
|
||||||
|
echo "See http://bugs.jython.org/issue2346 for details."
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
13
plugins/python-build/share/python-build/jython-2.7.1b2
Normal file
13
plugins/python-build/share/python-build/jython-2.7.1b2
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
require_java
|
||||||
|
install_jar "jython-2.7.1b2" "https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1b2/jython-installer-2.7.1b2.jar#d994500808c8d448baab1f98e043e6a11360cff302f401901e73f0e34c27251a" jython
|
||||||
|
|
||||||
|
case "$(pypy_architecture 2>/dev/null || true)" in
|
||||||
|
"osx64"|"win32" )
|
||||||
|
# Jython does not seem to work properly on OSX/windows unless JAVA_HOME is set
|
||||||
|
if [ -z "${JAVA_HOME+defined}" ]; then
|
||||||
|
colorize 1 "WARNING: "
|
||||||
|
echo "Please ensure that your JAVA_HOME environment variable is set correctly!"
|
||||||
|
echo "See http://bugs.jython.org/issue2346 for details."
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.10.1
Normal file
19
plugins/python-build/share/python-build/miniconda-3.10.1
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.10.1-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.10.1-Linux-x86.sh#509ee56f1590705472fdac4a00aa7191f79a6a09daf4af088e92f93c648d815e" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.10.1-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.10.1-Linux-x86_64.sh#363f56f5608d1552325549e7371fcf460c5ed45484eb300058e3b99c997808b5" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.10.1-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.10.1-MacOSX-x86_64.sh#61a1e468a79cca45a518b1760033e7af89108bf88487afead79f96e3229b422a" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.16.0
Normal file
19
plugins/python-build/share/python-build/miniconda-3.16.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.16.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-x86.sh#57e9659848e6322cb18c1c4a5c844a4f7dc5e784dbd8977245769ff9db28dade" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.16.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.16.0-Linux-x86_64.sh#b1facded0d33850e3a467d6e4589830be477bd4f819407b99b033a4d22601e4d" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.16.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.16.0-MacOSX-x86_64.sh#e93517696d4ede4f8ff21ea42272f24508023b83f1e2e2c989d1b32ab19347a9" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.18.3
Normal file
19
plugins/python-build/share/python-build/miniconda-3.18.3
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.18.3-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda2-3.18.3-Linux-x86.sh#1eceb3a763ab784af41a46dfd96a520659957b5fefdc1f4d53f00de43b539be0" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.18.3-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda2-3.18.3-Linux-x86_64.sh#dd16e093aec2346af4e8f383a9dedb9a3d6c1a0cb7637b180e1e0790dfa55e81" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.18.3-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda2-3.18.3-MacOSX-x86_64.sh#c90b37e4ba866ac2195ddf9ffe5549311279041def27ade29f661f5707d43c94" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.8.3
Normal file
19
plugins/python-build/share/python-build/miniconda-3.8.3
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.8.3-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86.sh#253a95fac2dbcc01ad5ce5a78d241a362482e1fbb24b1000ea5e217f55825cb6" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.8.3-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh#7ac19397731ffb212ed5534c29cd25f5f4c0c81669707ba6da8635cf1431c114" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.8.3-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.8.3-MacOSX-x86_64.sh#e19e16b7969fb256d68f7de3a4e02331ba04e1c48a262d2b9f66db106e016257" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda-3.9.1
Normal file
19
plugins/python-build/share/python-build/miniconda-3.9.1
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda-3.9.1-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.9.1-Linux-x86.sh#f3cdc8d774acce05462eb07d2676162c519e1e5d35c98d1dc3d6eb7b262da0b2" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda-3.9.1-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.9.1-Linux-x86_64.sh#64f2b5047f944bb9b06e46c7281e9edffd412981c93e31d4c111287a1d30fef4" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda-3.9.1-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.9.1-MacOSX-x86_64.sh#ea529626cfb3519eebee83c40965f0a58375e0826c6777b759eb0c42ca9970d2" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.10.1
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.10.1
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.10.1-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.10.1-Linux-x86.sh#e9b751fa8bc5372731512e058fa3867ad9e54983b48d462b4c8f7a031953c2bc" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.10.1-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.10.1-Linux-x86_64.sh#cbd86f49008319416d1e57f9ac43a42445058f06aaeebe5ab974769887a8628b" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.10.1-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.10.1-MacOSX-x86_64.sh#58ba40cbd1cf5bba680f94321d2ce22685a2b06ad9252044f06a0018fe99bd62" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.16.0
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.16.0
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.16.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.16.0-Linux-x86.sh#faedb7a75584d48d563f0f9b449cb00bf8d05ddb3e1ede1936bf522f03f0e1e2" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.16.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.16.0-Linux-x86_64.sh#3becbcdd36761711850cffa11064b87cfe067dbeb4a5eda544dc341af482de87" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.16.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.16.0-MacOSX-x86_64.sh#36fe954548a6900249270f9632b76252e247313cc9d551c096d7e1f526a88631" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.18.3
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.18.3
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.18.3-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.18.3-Linux-x86.sh#7f6b432daacfbe67ac5fd5b3e3bc5bca75642e4e099e967b1353a5b0a828b036" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.18.3-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.18.3-Linux-x86_64.sh#6eee19f7ac958578b0da4124f58b09f23422fa6f6b26af8b594a47f08cc61af4" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.18.3-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.18.3-MacOSX-x86_64.sh#b81c9b27eb9a91e3183e51000dbf986bfe91f99acfa1a4e3bc849ddacc7bf934" "miniconda" verify_py27
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
19
plugins/python-build/share/python-build/miniconda3-3.8.3
Normal file
19
plugins/python-build/share/python-build/miniconda3-3.8.3
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||||
|
"Linux-x86" )
|
||||||
|
install_script "Miniconda3-3.8.3-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86.sh#2345cf595864ee0a139f6dd1572070442445baace0dec7a4937267169708f929" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
"Linux-x86_64" )
|
||||||
|
install_script "Miniconda3-3.8.3-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh#26483a27b56d3567596b866076cb6de75c4b7e376fe359720ec27fca2c05ceec" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
"MacOSX-x86_64" )
|
||||||
|
install_script "Miniconda3-3.8.3-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.8.3-MacOSX-x86_64.sh#86be2f1d55755670e0a21902584768b69732b31e87af22d1cca856f3d9e5c20d" "miniconda" verify_py34
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
{ echo
|
||||||
|
colorize 1 "ERROR"
|
||||||
|
echo ": The binary distribution of Miniconda is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||||
|
echo
|
||||||
|
} >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user