Skip to content

Commit 1f3c633

Browse files
authored
Merge pull request #5 from birajstha/develop
Develop
2 parents 423092e + c93e12a commit 1f3c633

65 files changed

Lines changed: 4966 additions & 2142 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/workflow.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Publish to PyPI
22

33
on:
4-
pull_request_target:
5-
branches:
6-
- main
7-
types:
8-
- closed
94
push:
105
branches:
116
- main
@@ -16,25 +11,24 @@ jobs:
1611

1712
steps:
1813
- name: Check out code
19-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
2015

2116
- name: Set up Python
22-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
2318
with:
24-
python-version: "3.x"
19+
python-version: "3.12"
20+
21+
- name: Install PDM
22+
run: python -m pip install pdm
2523

2624
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install setuptools wheel twine
25+
run: pdm install
3026

3127
- name: Build package
32-
run: |
33-
python setup.py sdist bdist_wheel
28+
run: pdm build
3429

3530
- name: Publish package
3631
env:
37-
TWINE_USERNAME: __token__
38-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
39-
run: |
40-
twine upload dist/*
32+
PDM_PUBLISH_USERNAME: __token__
33+
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
34+
run: pdm publish

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,7 @@ venv.bak/
122122
dmypy.json
123123

124124
# Pyre type checker
125-
.pyre/
125+
.pyre/
126+
127+
#temporary files
128+
.temp_qc

CPACqc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.2.12'
1+
__version__ = '0.2.13'
22
__author__ = 'Biraj Shrestha'
33
__email__ = 'birajstha@gmail.com'
44
__description__ = 'A package to view Nifti files in a BIDS dataset and generate QC plots.'

CPACqc/bids2table/__init__.py

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

CPACqc/bids2table/__main__.py

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

0 commit comments

Comments
 (0)