Skip to content

Commit

Permalink
Migrate to pip
Browse files Browse the repository at this point in the history
  • Loading branch information
kousu committed Apr 6, 2021
1 parent 4b8e242 commit 87b8ea5
Show file tree
Hide file tree
Showing 134 changed files with 27 additions and 23 deletions.
13 changes: 0 additions & 13 deletions .distriploy.yml

This file was deleted.

8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
sct_example_data
sct_testing_data
================

Example data for the Spinal Cord Toolbox (errsm_30).
Testing data for the [`spinalcordtoolbox`](https://github.com/neuropoly/spinalcordtoolbox).

To release after changes, use [distriploy](https://github.com/neuropoly/distriploy/):
```bash
distriploy --revision rYYYYMMDD release
```
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@
import site, sys; site.ENABLE_USER_SITE = True

setup(
name='spinalcordtoolbox-data-<dataset>',
name='spinalcordtoolbox-data-testing',
description='Part of https://github.com/neuropoly/spinalcordtoolbox',
long_description=(here / 'README.md').read_text(encoding='utf-8'),
long_description_content_type='text/markdown',
author='Neuropoly',
author_email='[email protected]',
url='https://spinalcordtoolbox.com/',
project_urls={
'Source': 'https://github.com/sct-data/<dataset>',
'Source': 'https://github.com/sct-data/sct-testing-data',
#'Documentation': '',
},
#license='CC-BY-NC', ??
#license_files=[ ... ] # TODO?
license_files=[ 'LICENSE' ],

packages=find_namespace_packages('src/'),
package_dir={"":"src/"},
Expand Down
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/dmri/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/fmri/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/mt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/mt/label/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/mt/label/atlas/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/t1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/t2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/t2s/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/spinalcordtoolbox/testing/data/template/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# empty __init__.py to enable importlib.resources
# see < TODO >
File renamed without changes.

0 comments on commit 87b8ea5

Please sign in to comment.