text: import re
  import os
  from pathlib import Path
  from setuptools import setup
  
  
  def find_version(filename):
      _version_re = re.compile(r"__version__ = '(.*)'")
      for line in open(filename):
          version_match = _version_re.match(line)
          if version_match:
              return version_match.group(1)
  
  
  __version__ = find_version('sparcur/__init__.py')
  
  with open('README.md', 'rt') as f:
      long_description = f.read()
  
  tests_require = ['pytest', 'pytest-runner']
  setup(name='sparcur',
        version=__version__,
        description='assorted',
        long_description=long_description,
        long_description_content_type='text/markdown',
        url='https://github.com/tgbugs/sparc-curation',
        author='Tom Gillespie',
        author_email='tgbugs@gmail.com',
        license='MIT',
        classifiers=[
            'Development Status :: 3 - Alpha',
            'License :: OSI Approved :: MIT License',
            'Programming Language :: Python :: 3.6',
            'Programming Language :: Python :: 3.7',
        ],
        keywords='SPARC curation biocuration ontology blackfynn protc protocols hypothesis',
        packages=['sparcur', 'sparcur.export'],
        python_requires='>=3.6',
        tests_require=tests_require,
        install_requires=[
            'augpathlib>=0.0.9',
            'beautifulsoup4',
            'blackfynn>=3.0.0',
            'dicttoxml',
            'idlib',
            'ipython',
            'jsonschema>=3.0.1',  # need the draft 6 validator
            'protcur>=0.0.3',
            'pyontutils>=0.1.16',
            'pysercomb>=0.0.4',
            'robobrowser',
            'terminaltables',
            'xlsx2csv',
        ],
        extras_require={'filetypes': ['nibabel', 'pydicom', 'scipy'],
                        'test': tests_require},
        scripts=[],
        entry_points={
            'console_scripts': [
                'spc=sparcur.cli:main',
            ],
        },
        data_files=[]
       )
  