Skip to content

Commit

Permalink
Use __version__ from quickshear.py
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Mar 7, 2017
1 parent 2941f0d commit cc60678
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,23 @@
# To use a consistent encoding
from codecs import open
from os import path
import runpy

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

info = runpy.run_path("quickshear.py")

setup(
name='quickshear',

# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.0.1-dev',
version=info['__version__'],

description='Quickshear Defacing for Neuroimages',
long_description=long_description,
Expand Down

0 comments on commit cc60678

Please sign in to comment.