Skip to content

Commit bb033f1

Browse files
committed
Merge branch 'pypi_index'
2 parents ffb6600 + 6203613 commit bb033f1

File tree

5 files changed

+47
-68
lines changed

5 files changed

+47
-68
lines changed

.github/workflows/build_wheel.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build wheel
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
env:
9+
PYTHON_VERSION: "3.9"
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python ${{ env.PYTHON_VERSION }}
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: ${{ env.PYTHON_VERSION }}
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
python -m pip install build wheel
20+
- name: Install wheels
21+
run: |
22+
python -m build --wheel
23+
- name: Upload artifact
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: wheels
27+
path: ./dist/*.whl

.github/workflows/install_wheels.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
name: install wheels
1+
name: Install wheels
22

3-
on:
4-
push:
5-
tags:
6-
- '*'
3+
on: [workflow_dispatch]
74

85
jobs:
96
build:
10-
runs-on: ubuntu-latest
117
env:
12-
VERSION: "0.13.0"
13-
USER: cms-l1-globaltrigger
8+
VERSION: "0.14.0"
9+
PYPI_INDEX: https://globaltrigger.web.cern.ch/pypi/
1410
strategy:
1511
matrix:
16-
python-version: ["3.9", "3.10", "3.11", "3.12"]
12+
os: [ubuntu-latest, macos-latest]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
14+
runs-on: ${{ matrix.os }}
1715
steps:
1816
- uses: actions/checkout@v2
1917
- name: Set up Python ${{ matrix.python-version }}
@@ -25,7 +23,7 @@ jobs:
2523
python -m pip install --upgrade pip
2624
- name: Install wheels
2725
run: |
28-
python -m pip install git+https://github.com/${{ env.USER }}/tm-python.git@${{ env.VERSION }}
26+
python -m pip install --index-url ${{ env.PYPI_INDEX }} tm-python==${{ env.VERSION }}
2927
- name: Verify packages
3028
run: |
3129
python -c "from tmTable import __version__; assert __version__ == '${{ env.VERSION }}'"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# tm-python
22

33
Meta package providing Python bindings for
4-
[tmTable](https://github.com/cms-l1-globaltrigger/tm-table),
5-
[tmGrammar](https://github.com/cms-l1-globaltrigger/tm-grammar) and
6-
[tmEventSetup](https://github.com/cms-l1-globaltrigger/tm-eventsetup).
4+
[tm-table](https://github.com/cms-l1-globaltrigger/tm-table),
5+
[tm-grammar](https://github.com/cms-l1-globaltrigger/tm-grammar) and
6+
[tm-eventsetup](https://github.com/cms-l1-globaltrigger/tm-eventsetup).
77

88
## Install instructions
99

setup.cfg

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
[metadata]
22
name = tm-python
3-
description = Meta package providing Python bindings for tmTable, tmGrammar and tmEventSetup.
3+
version = 0.14.0
4+
description = Meta package providing Python bindings for tm-table, tm-grammar and tm-eventsetup.
45
long_description = file: README.md
56
long_description_content_type = text/markdown
67
author = Bernhard Arnold
78
author_email = [email protected]
89
url = https://github.com/cms-l1-globaltrigger/tm-python
910
license = GPLv3
11+
12+
[options]
13+
install_requires =
14+
tm-table==0.14.0
15+
tm-grammar==0.14.0
16+
tm-eventsetup==0.14.0
17+
python_requires = >=3.9

setup.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)