Skip to content
Snippets Groups Projects
Commit a814bdf9 authored by Ammar Nejati's avatar Ammar Nejati
Browse files

[addWheelToPackage] Add Python Wheel to the Package

Merging branch '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](https://pip.pypa.io/en/stable).

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.

See merge request !841
parents 8dd85b59 ad782bb7
No related branches found
No related tags found
1 merge request!841Add Python Wheel to the Package
Pipeline #64272 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment