Notes on experimenting with making wheels
Peter Cock <[email protected]>
| Newsgroups | gmane.comp.python.bio.devel |
|---|---|
| Message-ID | <CAKVJ-_7T87SG0YonisMYnP7Wzk7BMkVTbyJaDiU0pebt8fTV2g@mail.gmail.com> |
Using my elderly 32 bit Windows XP machine, 1) Clean install of python-2.7.11.msi (for all users), which is currently the latest version - and comes with pip. 2) Upgrade pip C:\Python27\Scripts\pip install --upgrade pip (Ignored scary error about being unable to delete a temp folder using os.unlink via shutil.py) 3) Install setuptools and wheel C:\Python27\Scripts\pip install --upgrade wheel setuptools 4) Install binary wheel of numpy, got numpy 1.11.0 C:\Python27\Scripts\pip install --only-binary numpy numpy 4) Get clean checkout of Biopython from git, 5) Build the wheel, C:\Python27\python setup.py bdist_wheel (Ignored warning about config variables Py_DEBUG and WITH_PYMALLOC being unset and that the Python ABI tag may be incorrect.) Giving: dist/biopython-1.67_-cp27-cp27m-win32.whl (1917KB) Likewise for Python 3.4 which also comes with pip, using python-3.4.4.msi, again getting numpy 1.11.0, and giving: dist/biopython-1.67_-cp34-cp34m-win32.whl (1916KB) Notice there was a warning about the version not following PEP440 and 1.67+ plus became 1.67_ with underscore. See http://lists.open-bio.org/pipermail/biopython/2016-June/015957.html http://lists.open-bio.org/pipermail/biopython-dev/2016-June/021445.html