#!/usr/bin/env python

# based on:
# https://github.com/marcindulak/python-mycli/blob/master/setup.py#L34

import os
from setuptools import setup
#from distutils.core import setup

name = "dyfunconn"
rootdir = os.path.abspath(os.path.dirname(__file__))

packages = []
for dirname, dirnames, filenames in os.walk(name):
    if '__init__.py' in filenames:
        packages.append(dirname.replace('/', '.'))

data_files = []
for extra_dirs in ("docs", "examples", "tests"):
    for dirname, dirnames, filenames in os.walk(extra_dirs):
        fileslist = []
        for filename in filenames:
            fullname = os.path.join(dirname, filename)
            fileslist.append(fullname)
        data_files.append(('share/' + name + '/' + dirname, fileslist))

setup(name='dyfunconn',
      version='v1.0.0-beta.1',
      description='A dynamic functional connectivity module in Python',
      author='Avraam Marimpis, Stavros Dimitriadis',
      author_email='Avraam.Marimpis@gmail.com, STIDimitriadis@gmail.com',
      license='BSD',
      keywords='eeg fMRI meg connectivity graphs neuroimage brain',
      url = 'https://github.com/makism/dyfunconn',
      download_url = 'https://github.com/makism/dyfunconn/archive/v1.0.0-beta.2.tar.gz',
      python_requires='~=3.6',
      packages=packages,
      install_requires=['numpy', 'scipy', 'networkx', 'matplotlib', 'statsmodels', 'scikit-learn', 'bctpy'],
      package_dir={'dyfunconn': 'dyfunconn'},
      data_files=data_files,
      classifiers=['Development Status :: 4 - Beta',
                   'Programming Language :: Python :: 3.6',
                   'Intended Audience :: Science/Research',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved',
                   'Topic :: Software Development',
                   'Topic :: Scientific/Engineering',
                   'Operating System :: Microsoft :: Windows',
                   'Operating System :: POSIX',
                   'Operating System :: Unix',
                   'Operating System :: MacOS'
                   ],
      )

#!/usr/bin/env python

# based on:
# https://github.com/marcindulak/python-mycli/blob/master/setup.py#L34

import os
from setuptools import setup
#from distutils.core import setup

name = "dyfunconn"
rootdir = os.path.abspath(os.path.dirname(__file__))

packages = []
for dirname, dirnames, filenames in os.walk(name):
    if '__init__.py' in filenames:
        packages.append(dirname.replace('/', '.'))

data_files = []
for extra_dirs in ("docs", "examples", "tests"):
    for dirname, dirnames, filenames in os.walk(extra_dirs):
        fileslist = []
        for filename in filenames:
            fullname = os.path.join(dirname, filename)
            fileslist.append(fullname)
        data_files.append(('share/' + name + '/' + dirname, fileslist))

setup(name='dyfunconn',
      version='v1.0.0-beta.2',
      description='A dynamic functional connectivity module in Python',
      author='Avraam Marimpis, Stavros Dimitriadis',
      author_email='Avraam.Marimpis@gmail.com, STIDimitriadis@gmail.com',
      license='BSD',
      keywords='eeg fMRI meg connectivity graphs neuroimage brain',
      url = 'https://github.com/makism/dyfunconn',
      download_url = 'https://github.com/makism/dyfunconn/archive/v1.0.0-beta.2.tar.gz',
      python_requires='~=3.6',
      packages=packages,
      install_requires=['numpy', 'scipy', 'networkx', 'matplotlib', 'statsmodels', 'scikit-learn', 'bctpy'],
      package_dir={'dyfunconn': 'dyfunconn'},
      data_files=data_files,
      classifiers=['Development Status :: 4 - Beta',
                   'Programming Language :: Python :: 3.6',
                   'Intended Audience :: Science/Research',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved',
                   'Topic :: Software Development',
                   'Topic :: Scientific/Engineering',
                   'Operating System :: Microsoft :: Windows',
                   'Operating System :: POSIX',
                   'Operating System :: Unix',
                   'Operating System :: MacOS'
                   ],
      )

Update for beta-2.