File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
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 }}
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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 }}
Original file line number Diff line number Diff line change 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)"
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)"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Testing
6060To install the test requirements use:
6161
6262 ```bash
63- pip install -e .[ tests]
63+ pip install -e . --group tests
6464 ```
6565
6666Then to run the core tests:
@@ -78,7 +78,7 @@ Documentation
7878To install the documentation build requirements use:
7979
8080 ```bash
81- pip install -e .[ docs]
81+ pip install -e . --group docs
8282 ```
8383
8484To build the documentation run:
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ python3 -m venv venv
9696. venv/bin/activate
9797
9898pip install -U pip
99- pip install -e .[ docs]
99+ pip install -e . --group docs
100100
101101# The pipefail is requested to propagate exit code
102102set -o pipefail && cd docs && make $MAKE_TARGET 2>&1 | tee ~ /log.txt
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ in the activated environment change to the ``pynetdicom`` directory and install
5252*pynetdicom * and the required development packages::
5353
5454 cd pynetdicom/
55- python -m pip install -e .[ dev]
55+ python -m pip install -e . --group dev
5656
5757When you want to update your copy of the source code, run ``git pull `` from
5858within the ``pynetdicom `` directory and Git will download and apply any
Original file line number Diff line number Diff line change @@ -40,6 +40,19 @@ homepage = "https://github.com/pydicom/pynetdicom"
4040
4141[project .optional-dependencies ]
4242apps = [" 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 ]
4356dev = [
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 ]
8688exclude = " .venv*|env*|build|/_.*_dict.py$"
8789force-exclude = " .venv*|env*|/_.*_dict.py$"
You can’t perform that action at this time.
0 commit comments