Date: 26-10-20  Time: 21:16 PM

Author Topic: Python Packaging - looking for wheels  (Read 2194 times)

0 Members and 1 Guest are viewing this topic.


  • Administrator
  • Hero Member
  • *****
  • Posts: 1267
  • Karma: +0/-0
Python Packaging - looking for wheels
« on: August 16, 2019, 11:52:03 AM »
Python has it's own standard for packaging - much like perl has CPAN.

This method of packaging has been ignored, completely, by OSS packagers and Python Module developers (I managed to find someone who ccould check the PyPi database. There is nothing specific to AIX at that central repository).

Since around 2013 Python has been promoting a new method or specification for labeling installable (binary) modules. This is specified in PEP425.

Anyway, after having been asked recently to help with packaging PyInstaller and paramiko I started looking into ways to supplement adding modules to Python on AIX. The new direction is to use so-called wheels (built using the Python modules wheel and setuptools and installed using pip).

Wheels are meant to be self-contained. For pure Python wheels are straight-forward - no binary shared libraries are needed. Python modules that require a shared library are more difficult to package "traditionally" using installp or rpm. And also more difficult to install as you may be required to be root.

Working with a wheel, especially in a virtualenv, a user can install modules without a near absolute requirement to have root access. Reason enough for me to research further.