Skip to content
from collections import OrderedDict
settings = OrderedDict()
ser = None
dstat_version = None
\ No newline at end of file
import sys import sys
from paver.easy import task, needs, path, sh, cmdopts, options from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, install_distutils_tasks from paver.setuputils import setup, install_distutils_tasks, find_packages
from distutils.extension import Extension from distutils.extension import Extension
from distutils.dep_util import newer from distutils.dep_util import newer
...@@ -13,12 +13,13 @@ setup(name='dstat_interface', ...@@ -13,12 +13,13 @@ setup(name='dstat_interface',
description='Interface software for DStat potentiostat.', description='Interface software for DStat potentiostat.',
keywords='', keywords='',
author='Michael D. M Dryden', author='Michael D. M Dryden',
author_email='mdryden@chemutoronto.ca', author_email='mdryden@chem.utoronto.ca',
url='http://microfluidics.utoronto.ca/dstat', url='http://microfluidics.utoronto.ca/dstat',
license='GPLv3', license='GPLv3',
packages=['dstat_interface', ], packages=find_packages(),
install_requires=['matplotlib', 'numpy', 'pyserial', 'pyzmq', install_requires=['matplotlib', 'numpy', 'pyserial', 'pyzmq',
'pyyaml','seaborn', 'zmq-plugin>=0.2.post2'], 'pyyaml','seaborn', 'setuptools',
'zmq-plugin>=0.2.post2'],
# Install data listed in `MANIFEST.in` # Install data listed in `MANIFEST.in`
include_package_data=True) include_package_data=True)
......
...@@ -48,9 +48,11 @@ __all__ = ('getVersion') ...@@ -48,9 +48,11 @@ __all__ = ('getVersion')
import re import re
import subprocess import subprocess
import sys import sys
import os.path
import inspect
RELEASE_VERSION_FILE = '{}/RELEASE-VERSION'.format(
RELEASE_VERSION_FILE = 'RELEASE-VERSION' os.path.dirname(os.path.abspath(inspect.stack()[0][1])))
# http://www.python.org/dev/peps/pep-0386/ # http://www.python.org/dev/peps/pep-0386/
_PEP386_SHORT_VERSION_RE = r'\d+(?:\.\d+)+(?:(?:[abc]|rc)\d+(?:\.\d+)*)?' _PEP386_SHORT_VERSION_RE = r'\d+(?:\.\d+)+(?:(?:[abc]|rc)\d+(?:\.\d+)*)?'
......