Commit 387f386
committed
Support for PyPI / pip wheel packages on Linux (cztomczak#219).
Upload "cefpython3-53.2.dev0-py2.py3-none-manylinux1_x86_64.whl" to PyPI
(package for Python 2.7 / 3.4 / 3.5 and 64-bit).
PIP 8.1+ is required to install manylinux1 wheel packages.
Update make-setup.py.
Commands that were run to build manylinux1 package after .so files
were built for all distributions Python 2.7 / 3.4 / 3.5:
> cd cefpython/src/linux/installer/
> python make-setup.py 53.2
> cd cefpython3*/
> python setup.py bdist_wheel --universal
> cd dist/
The generated file was "cefpython3-53.2-py2.py3-none-any.whl" and
it was renamed in two places:
1. Version was changed from "53.2" to "53.2.dev0" to mark it
as a pre-release so that it installs only with "pip --pre" flag.
However this doesn't work, it still installs without the --pre flag.
Looks like it is required to mark it as "dev0" version when creating
the setup package when running make-setup.py. Adding this postfix
to version would break examples that make version checks - needs
further investigation. Still, the "dev0" postfix is visible in file
that was uploaded to PyPI.
2. Platform tag "-any.whl" was changed to "-manylinux1_x86_64.whl".1 parent 0af803f commit 387f386Copy full SHA for 387f386
File tree
Expand file treeCollapse file tree
1 file changed
+38
-24
lines changedOpen diff view settings
Filter options
- src/linux/installer
Expand file treeCollapse file tree
1 file changed
+38
-24
lines changedOpen diff view settings
Collapse file
src/linux/installer/make-setup.py
Copy file name to clipboardExpand all lines: src/linux/installer/make-setup.py+38-24Lines changed: 38 additions & 24 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
10 | | - |
11 | 9 | |
12 | 10 | |
13 | 11 | |
| ||
26 | 24 | |
27 | 25 | |
28 | 26 | |
| 27 | + |
| 28 | + |
29 | 29 | |
30 | 30 | |
31 | 31 | |
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
| 40 | + |
40 | 41 | |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
53 | 56 | |
54 | 57 | |
55 | 58 | |
| ||
58 | 61 | |
59 | 62 | |
60 | 63 | |
61 | | - |
| 64 | + |
62 | 65 | |
63 | 66 | |
64 | 67 | |
65 | 68 | |
66 | | - |
| 69 | + |
67 | 70 | |
68 | 71 | |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
69 | 77 | |
70 | 78 | |
71 | | - |
| 79 | + |
| 80 | + |
72 | 81 | |
73 | 82 | |
74 | 83 | |
| ||
79 | 88 | |
80 | 89 | |
81 | 90 | |
82 | | - |
83 | 91 | |
84 | 92 | |
85 | 93 | |
| ||
88 | 96 | |
89 | 97 | |
90 | 98 | |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
91 | 103 | |
92 | 104 | |
93 | 105 | |
94 | 106 | |
95 | 107 | |
96 | 108 | |
97 | 109 | |
98 | | - |
| 110 | + |
99 | 111 | |
100 | 112 | |
101 | 113 | |
| ||
111 | 123 | |
112 | 124 | |
113 | 125 | |
114 | | - |
| 126 | + |
115 | 127 | |
116 | 128 | |
117 | 129 | |
| ||
127 | 139 | |
128 | 140 | |
129 | 141 | |
| 142 | + |
130 | 143 | |
| 144 | + |
131 | 145 | |
132 | 146 | |
133 | 147 | |
| ||
149 | 163 | |
150 | 164 | |
151 | 165 | |
152 | | - |
153 | | - |
154 | | - |
| 166 | + |
| 167 | + |
| 168 | + |
155 | 169 | |
156 | 170 | |
157 | 171 | |
158 | | - |
| 172 | + |
159 | 173 | |
160 | 174 | |
161 | 175 | |
|
0 commit comments