forked from ME-ICA/tedana
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace versioneer with hatch (ME-ICA#35)
* Update gitignore. * Delete _version.py * Adopt new packaging. * Ignore the _version.py file.
- Loading branch information
Showing
10 changed files
with
162 additions
and
2,478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node: $Format:%H$ | ||
node-date: $Format:%cI$ | ||
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ | ||
ref-names: $Format:%D$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# setuptools-scm | ||
tedana/_version.py | ||
|
||
.DS_Store | ||
docs/generated/ | ||
.pytest_cache/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | ||
# vi: set ft=python sts=4 ts=4 sw=4 et: | ||
"""Base module variables.""" | ||
|
||
try: | ||
from tedana._version import __version__ | ||
except ImportError: | ||
__version__ = "0+unknown" | ||
|
||
__packagename__ = "tedana" | ||
__copyright__ = "Copyright 2023, The ME-ICA Developers" | ||
__credits__ = ( | ||
"Contributors: please check the ``.zenodo.json`` file at the top-level folder" | ||
"of the repository" | ||
) | ||
__url__ = "https://github.com/ME-ICA/tedana" | ||
|
||
DOWNLOAD_URL = f"https://github.com/ME-ICA/{__packagename__}/archive/{__version__}.tar.gz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | ||
# vi: set ft=python sts=4 ts=4 sw=4 et: | ||
""" | ||
tedana: A Python package for TE-dependent analysis of multi-echo data. | ||
""" | ||
|
||
"""tedana: A Python package for TE-dependent analysis of multi-echo data.""" | ||
import warnings | ||
|
||
from ._version import get_versions | ||
|
||
__version__ = get_versions()["version"] | ||
from tedana.__about__ import __copyright__, __credits__, __packagename__, __version__ | ||
|
||
# cmp is not used, so ignore nipype-generated warnings | ||
warnings.filterwarnings("ignore", r"cmp not installed") | ||
|
||
del get_versions | ||
__all__ = [ | ||
"__copyright__", | ||
"__credits__", | ||
"__packagename__", | ||
"__version__", | ||
] |
Oops, something went wrong.