Questions tagged [python-wheel]

​​​​​​​​​​​​​​​​​​​​A wheel is a ZIP-like archive format for Python packages with the .whl extension.

Wheels were introduced to Python with PEP 427 to simplify distribution installation. It replaces the egg format.

Useful Links:

  1. PEP 376 Database of Installed Python Distributions infrastructure Wheels are based on
  2. PEP 427 Introduction of the Wheel format
  3. Wheel package index
883 questions
3
votes
1 answer

Why is "cp35-win32" in the name of the .pyd files in the cryptography wheel package

On my Windows machine, when I build the cryptography package using the instructions on this page, I end up with these .pyd files in the wheel: _openssl.cp35-win32.pyd _constant_time.cp35-win32.pyd _padding.cp35-win32.pyd Based on already built…
GDICommander
  • 1,273
  • 3
  • 15
  • 27
3
votes
0 answers

Skip building wheel if it's already in the wheelhouse

I'm automatically building wheels for each tagged release using github URL. These wheels are then uploaded to a wheelhouse. Command I'm using is pip wheel --wheel-dir=/tmp/wheels/ \ …
vartec
  • 131,205
  • 36
  • 218
  • 244
3
votes
0 answers

A detailed description on virtualenv's packaging dependecies? (pip, easy_install, wheel, setuptools, distlib, etc.)

I was working on a bugfix for Python's virtualenv, regarding very long shebang lines that are breaking things. In the process, I realized that if I want really fix to my particular issue it likely needs to be done on the lower level of Python…
Harald Nordgren
  • 11,693
  • 6
  • 41
  • 65
3
votes
0 answers

Best way to distribute a python script

I wrote a relatively simple python script to help a friend process and analyze data. The script reads some xls files into pandas dataframes and writes out the results to an excel sheet. I used argprase to set some options and specify where the…
agf1997
  • 2,668
  • 4
  • 21
  • 36
3
votes
2 answers

What does the "Py Version" in PyPI project page mean? And does it matter?

I notice that, most projects released on PyPI contain a "Py Version" meta data in their project page, but their values vary. If the package is not a universal package or not a pure python package, their values are understandably different, in order…
RayLuo
  • 17,257
  • 6
  • 88
  • 73
3
votes
1 answer

Azure Webapp wheels --find-links does not work

I have been struggling with --find-links for an entire day, and I will be very grateful if sb could help me out here. I have been developing using python3.4 and one of the new features I added uses Azure Storage( the most recent version) and it…
3
votes
1 answer

MarkupSafe, SQLAlchemy and pycrypto fail because wheel build fail

Running windows with python 2.7, setuptools, pip and wheel at latest release. Trying to install dependencies using pip install -r requirements.txt failing because "one or more wheels failed to build". Log: Building wheels for collected packages:…
minniebot
  • 31
  • 8
3
votes
1 answer

ValueError ['path'] failed building wheel for python-crfsuite

I am trying to install python-CRFSuite using this command: pip install python-crfsuite Before this I use SET VS90COMNTOOLS=%VS140COMNTOOLS% since I am using Visual studio 2015. After running the installation command i get the following…
Neha
  • 125
  • 1
  • 2
  • 9
3
votes
1 answer

Python wheel: same source code but different md5sum

We need to check the md5sum of self made python packages, actually taking it from resulting *.whl file. The problem is that the md5sum changes on every build, even if there no changes in source code. Also we have tested this on third party packages,…
ilov3
  • 427
  • 2
  • 7
3
votes
1 answer

Failed building wheel for simplesoap Python virtualenv

When installing PySimpleSoap on a virtualenv everything seems to work fine, then I get an error message Failed building wheel for pysimplesoap and at the end there is a message Successfully installed pysimplesoap-1.16. Is it an error that can be…
Johan Vergeer
  • 5,208
  • 10
  • 48
  • 105
3
votes
2 answers

Python virtualenv requirements.txt by default includes wheel

I just re-installed python & virtualenv after accidentally getting everything messy. I noticed that my requirements.txt in my newly created environment automatically includes wheel==0.24.0. Is this normal, and what is it? I understand that…
Chris St Pierre
  • 350
  • 1
  • 10
3
votes
0 answers

Cross platform package with bundled dependencies

I need an easy way to distribute a Python project with all its dependencies included. I don't want something like PyInstaller: I need to distribute the same cross-platform package for each user. Recompiling on each OS is not an option. When copied…
danieleds
  • 669
  • 1
  • 6
  • 17
3
votes
0 answers

Conditional requirement setuptools/wheel

In Django 1.8, django.contrib.formtools has been separated into a new package called django-formtools. When upgrading a project to the new Django version, changing the imports is enough. However for my package, I support all Django versions…
Bouke
  • 11,768
  • 7
  • 68
  • 102
3
votes
2 answers

Can I upload a binary wheel to a local devpi on Linux?

Is it possible to use "pip wheel" to upload a binary wheel on Linux, to a local devpi server? Or do I need to get to a setup.py and do an upload from there? It seems a shame to build the wheel without need of a setup.py (it's taken care of behind…
dstromberg
  • 6,954
  • 1
  • 26
  • 27
3
votes
0 answers

what is use of package_data in setup.py (python setuptools)

What is use of package_data in setup.py (python setuptools) Can you please give an example? Is it possible to add a dependency .whl or .egg file as package_data, if yes, how do you automatically run that file?
Remis Haroon - رامز
  • 3,304
  • 4
  • 34
  • 62