Skip to content

Commit 7aa56ee

Browse files
committed
chore: remove versioneer
1 parent 4c8e613 commit 7aa56ee

File tree

7 files changed

+7
-2408
lines changed

7 files changed

+7
-2408
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,8 @@ WORKDIR /src/sdcflows
118118

119119
# Installing sMRIPREP
120120
COPY . /src/sdcflows
121-
ARG VERSION
122121
# Force static versioning within container
123-
RUN echo "${VERSION}" > /src/sdcflows/sdcflows/VERSION && \
124-
echo "include sdcflows/VERSION" >> /src/sdcflows/MANIFEST.in && \
125-
pip install --no-cache-dir .[all] && \
122+
RUN pip install --no-cache-dir .[all] && \
126123
rm -rf $HOME/.cache/pip
127124

128125
RUN find $HOME -type d -exec chmod go=u {} + && \
@@ -135,6 +132,7 @@ WORKDIR /tmp/
135132

136133
ARG BUILD_DATE
137134
ARG VCS_REF
135+
ARG VERSION
138136
LABEL org.label-schema.build-date=$BUILD_DATE \
139137
org.label-schema.name="SDCflows" \
140138
org.label-schema.description="SDCflows - Susceptibility Distortion Correction (SDC) workflows for EPI MR schemes" \

MANIFEST.in

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@ include CHANGES.rst
22
include LICENSE
33

44
recursive-include sdcflows/data *
5-
6-
# versioneer
7-
include versioneer.py
8-
include sdcflows/_version.py

get_version.py

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

sdcflows/__about__.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
22
# vi: set ft=python sts=4 ts=4 sw=4 et:
3-
"""
4-
Base module variables
5-
"""
6-
from ._version import get_versions
7-
__version__ = get_versions()['version']
8-
del get_versions
9-
3+
"""Base module variables"""
4+
from ._version import ___version___
105
__packagename__ = 'sdcflows'
116
__copyright__ = 'Copyright 2019, Center for Reproducible Neuroscience, Stanford University'
127
__credits__ = ('Contributors: please check the ``.zenodo.json`` file at the top-level folder'

0 commit comments

Comments
 (0)