-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,17 +34,18 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build manylinux Python wheels | ||
uses: RalfG/[email protected]_x86_64 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp31 cp312-cp312' | ||
python-version: 3.9 # Versione Python per il build system | ||
|
||
- uses: actions/upload-artifact@master | ||
with: | ||
name: linux-wheel | ||
path: dist/*-manylinux*.whl | ||
- name: Install cibuildwheel | ||
run: pip install cibuildwheel | ||
|
||
- name: Build wheels | ||
run: cibuildwheel --output-dir wheelhouse | ||
|
||
deploy-pypi: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
import platform | ||
from setuptools import setup, find_packages , Distribution | ||
from setuptools import setup, find_packages , Distribution, Extension | ||
|
||
long_description=\ | ||
"""============================================================ | ||
|
@@ -44,6 +44,7 @@ def is_pure(self): | |
author='UNIBS Team', | ||
author_email="[email protected]", | ||
packages=["up_lpg"], | ||
ext_modules=[Extension('lpg', sources=[executable])], | ||
package_data={"up_lpg": [executable]}, | ||
distclass=BinaryDistribution, | ||
include_package_data=True, | ||
|