Skip to content

Commit

Permalink
update version to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubk committed Jul 7, 2017
1 parent c1d2e7b commit fc5c47b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions neurodocker/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
11 changes: 10 additions & 1 deletion neurodocker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@
from neurodocker.dockerfile import Dockerfile
from neurodocker.parser import SpecsParser

__version__ = '0.1.0.dev0'

def _get_version():
"""Return version string."""
import os

BASE_PATH = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(BASE_PATH, "VERSION"), 'r') as fp:
return fp.read().strip()

__version__ = _get_version()
13 changes: 11 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
#!/usr/bin/env python

import os
from setuptools import find_packages, setup

import neurodocker
BASE_PATH = os.path.dirname(os.path.realpath(__file__))

def _get_version():
"""Return version string."""
with open(os.path.join(BASE_PATH, "neurodocker", "VERSION"), 'r') as fp:
return fp.read().strip()

__version__ = _get_version()


setup(name='neurodocker',
version=neurodocker.__version__,
version=__version__,
url='https://github.com/kaczmarj/neurodocker',
author='Jakub Kaczmarzyk',
author_email='[email protected]',
Expand Down

0 comments on commit fc5c47b

Please sign in to comment.