Skip to content

Commit 19abb32

Browse files
committed
update workflow to build and add license filed
1 parent e226be8 commit 19abb32

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/deploy_pkg.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121
with:
2222
python-version: '3.12'
2323

24-
- name: Install dependencies
24+
- name: Install build tools
2525
run: |
26-
python -m pip install --upgrade pip
27-
pip install --upgrade build
28-
pip install -e .[dev,rdd]
26+
python -m pip install --upgrade pip build twine
2927
3028
- name: Build package
31-
run: |
32-
python -m build
29+
run: python -m build
30+
31+
- name: Check package metadata
32+
run: twine check dist/*
3333

3434
- uses: actions/upload-artifact@v4
3535
with:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name = "DoubleML"
77
version = "0.11.dev0"
88
description = "Double Machine Learning in Python"
99
readme = {file = "README.md", content-type = "text/markdown"}
10+
license = {file = "LICENSE"}
1011
authors = [
1112
{name = "Bach, P., Chernozhukov, V., Klaassen, S., Kurz, M. S., and Spindler, M."}
1213
]

0 commit comments

Comments
 (0)