Skip to content

Commit

Permalink
try to fix python package
Browse files Browse the repository at this point in the history
  • Loading branch information
williammadie committed Jun 19, 2024
1 parent 0381004 commit ab49971
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build Package
run: |
python -m pip install --upgrade pip build
python3 -m build
python -m build
- name: Publish to TestPyPi
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
- name: Build Package
run: |
python -m pip install --upgrade pip build
python3 -m build
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='deidcm',
version='0.0.1-alpha',
version='0.0.1',
description='Reusable toolset for deidentifiying images and metadata contained inside DICOM files',
long_description=readme,
long_description_content_type='text/markdown',
Expand All @@ -25,7 +25,10 @@
"pillow",
"pydicom"
],
packages=find_packages(exclude=('tests', 'docs')),
packages=find_packages(
include=['deidcm', 'deidcm.dicom'],
exclude=['tests', 'docs']
),
extras_require={
"quality-tools": [
"pylint",
Expand Down

0 comments on commit ab49971

Please sign in to comment.