Skip to content

Add Python Wheel to the Package

Ammar Nejati requested to merge addWheelToPackage into main

The Python wheel is produced before the BornAgain package and added to the package on MacOS and MS-Windows platforms. The package folder structure is the following (e.g., for Python 3.9):

<Package-Root>
 |
 ...
 |
 +- python
    |
    +- 3.9
       |
       +- wheel {includes the wheel file}
       |
       +- dist-packages {BA's previous Python distribution}
          |
          +- bornagain

The wheel can be installed via the standard Python's pip; e.g.,

python3 -m pip install BornAgain.whl

For further options, consult pip's documentation.

BornAgain's previous Python distribution mechanism remains unaltered, regardless of whether it works or not.

NOTE: The mechanism to produce a complete self-contained Linux package will be added in another branch.

Merge request reports