Skip to content

Commit

Permalink
new deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
stoppini committed Oct 17, 2024
1 parent 89d83d4 commit 24e8fb7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
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=\
"""============================================================
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 24e8fb7

Please sign in to comment.