Skip to content

Commit

Permalink
Upgrade the way the Python packages are built
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeneyrou committed Sep 18, 2024
1 parent 81029df commit aa3abb6
Showing 1 changed file with 17 additions and 23 deletions.
40 changes: 17 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Install dependencies
shell: cmd
run: python -m pip install --upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel build

- name: Build components
shell: cmd
Expand Down Expand Up @@ -89,71 +89,65 @@ jobs:
python-version: '3.7'
- name: Install dependencies
shell: cmd
run: python -m pip install --upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel build
- name: Create wheel packages for python 3.7
run: |
cd python
python setup.py bdist_wheel
python -m --wheel
cd ..\server\scripting
python setup.py bdist_wheel
python -m --wheel
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
shell: cmd
run: python -m pip install --upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel build
- name: Create a wheel package instrumentation module for python 3.8
run: |
cd python
python setup.py bdist_wheel
python -m --wheel
cd ..\server\scripting
python setup.py bdist_wheel
python -m --wheel
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
shell: cmd
run: python -m pip install --upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel build
- name: Create a wheel package instrumentation module for python 3.9
run: |
cd python
python setup.py bdist_wheel
python -m --wheel
cd ..\server\scripting
python setup.py bdist_wheel
python -m --wheel
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
shell: cmd
run: python -m pip install --upgrade pip setuptools wheel
run: python -m pip install --upgrade pip setuptools wheel build
- name: Create a wheel package instrumentation module for python 3.10
run: |
cd python
python setup.py bdist_wheel
python -m --wheel
cd ..\server\scripting
python setup.py bdist_wheel
python -m --wheel
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
shell: cmd
run: python -m pip install --upgrade pip setuptools wheel
- name: Create a source package for python instrumentation module
run: python -m pip install --upgrade pip setuptools wheel build
- name: Create a source and wheel package instrumentation module for python 3.11
run: |
cd python
python setup.py sdist
python -m --wheel --sdist
cd ..\server\scripting
python setup.py sdist
- name: Create a wheel package instrumentation module for python 3.11
run: |
cd python
python setup.py bdist_wheel
cd ..\server\scripting
python setup.py bdist_wheel
python -m --wheel --sdist
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit aa3abb6

Please sign in to comment.