Skip to content

Commit 29f039c

Browse files
PEP 735 compliance
1 parent 4615d4d commit 29f039c

6 files changed

Lines changed: 23 additions & 21 deletions

File tree

.github/workflows/merge-pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
- name: Install dependencies
56-
run: pip install .[tests]
56+
run: pip install . --group tests
5757
- name: Test with pytest
5858
env:
5959
PYTHON_VERSION: ${{ matrix.python-version }}
@@ -86,7 +86,7 @@ jobs:
8686
with:
8787
python-version: ${{ matrix.python-version }}
8888
- name: Install dependencies
89-
run: pip install .[tests]
89+
run: pip install . --group tests
9090
- name: Switch to development pydicom
9191
run: |
9292
pip install git+https://github.com/pydicom/pydicom
@@ -121,7 +121,7 @@ jobs:
121121
python-version: ${{ matrix.python-version }}
122122
- name: Install dependencies
123123
run: |
124-
pip install -e .[tests]
124+
pip install -e . --group tests
125125
- name: Test with pytest
126126
env:
127127
PYTHON_VERSION: ${{ matrix.python-version }}

.github/workflows/merge-typing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
25-
run: pip install .[dev]
25+
run: pip install . --group dev
2626
- name: Run typing check with mypy
2727
run: |
2828
mypy

.github/workflows/pr-pytest-apps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
27-
run: pip install -e .[tests]
27+
run: pip install -e . --group tests
2828
- name: Switch to development pydicom
2929
run: |
3030
pip install git+https://github.com/pydicom/pydicom
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454
- name: Install dependencies
55-
run: pip install -e .[tests]
55+
run: pip install -e . --group tests
5656
- name: Test with pytest
5757
env:
5858
PYTHON_VERSION: ${{ matrix.python-version }}

.github/workflows/pr-pytest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858
- name: Install dependencies
59-
run: pip install -e .[tests]
59+
run: pip install -e . --group tests
6060
- name: Get OpenSSL version
6161
run: |
6262
python -c "import ssl; print('OpenSSL:', ssl.OPENSSL_VERSION_INFO)"
@@ -89,7 +89,7 @@ jobs:
8989
with:
9090
python-version: ${{ matrix.python-version }}
9191
- name: Install dependencies
92-
run: pip install -e .[tests]
92+
run: pip install -e . --group tests
9393
- name: Switch to development pydicom
9494
run: |
9595
pip install git+https://github.com/pydicom/pydicom
@@ -122,7 +122,7 @@ jobs:
122122
python-version: ${{ matrix.python-version }}
123123
- name: Install dependencies
124124
run: |
125-
pip install -e .[tests]
125+
pip install -e . --group tests
126126
- name: Get OpenSSL version
127127
run: |
128128
python -c "import ssl; print('OpenSSL:', ssl.OPENSSL_VERSION_INFO)"

.github/workflows/pr-type-lint-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
25-
run: pip install -e .[dev]
25+
run: pip install -e . --group dev
2626
- name: Run type check using mypy
2727
run: |
2828
mypy

pyproject.toml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ homepage = "https://github.com/pydicom/pynetdicom"
4040

4141
[project.optional-dependencies]
4242
apps = ["sqlalchemy"]
43+
44+
[project.scripts]
45+
echoscp = "pynetdicom.apps.echoscp.echoscp:main"
46+
echoscu = "pynetdicom.apps.echoscu.echoscu:main"
47+
findscu = "pynetdicom.apps.findscu.findscu:main"
48+
getscu = "pynetdicom.apps.getscu.getscu:main"
49+
movescu = "pynetdicom.apps.movescu.movescu:main"
50+
qrscp = "pynetdicom.apps.qrscp.qrscp:main"
51+
storescp = "pynetdicom.apps.storescp.storescp:main"
52+
storescu = "pynetdicom.apps.storescu.storescu:main"
53+
54+
55+
[dependency-groups]
4356
dev = [
4457
"asv >=0.6",
4558
"black >=23.1",
@@ -71,17 +84,6 @@ tests = [
7184
]
7285

7386

74-
[project.scripts]
75-
echoscp = "pynetdicom.apps.echoscp.echoscp:main"
76-
echoscu = "pynetdicom.apps.echoscu.echoscu:main"
77-
findscu = "pynetdicom.apps.findscu.findscu:main"
78-
getscu = "pynetdicom.apps.getscu.getscu:main"
79-
movescu = "pynetdicom.apps.movescu.movescu:main"
80-
qrscp = "pynetdicom.apps.qrscp.qrscp:main"
81-
storescp = "pynetdicom.apps.storescp.storescp:main"
82-
storescu = "pynetdicom.apps.storescu.storescu:main"
83-
84-
8587
[tool.black]
8688
exclude = ".venv*|env*|build|/_.*_dict.py$"
8789
force-exclude = ".venv*|env*|/_.*_dict.py$"

0 commit comments

Comments
 (0)