forked from nipy/niwidgets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (32 loc) · 986 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""Installer."""
from setuptools import setup
# To use a consistent encoding
from codecs import open
from os import path
blurb = 'A package that provides ipywidgets for standard neuroimaging plotting'
if path.isfile('README.md'):
readme = open('README.md', 'r').read()
else:
readme = blurb
version = '0.1.4'
setup(
name='niwidgets',
version=version,
description=blurb,
long_description=readme,
url='https://github.com/nipy/niwidgets',
download_url='https://github.com/nipy/niwidgets/archive/' +
version + '.tar.gz',
# Author details
author='Bjoern Soergel & Jan Freyberg',
author_email='[email protected]',
packages=['niwidgets'],
keywords=['widgets', 'neuroimaging'],
install_requires=['ipywidgets', 'nilearn', 'nibabel', 'ipyvolume'],
# Include the template file
package_data={
'': ['data/*nii*',
'data/examples_surfaces/lh.*',
'data/examples_surfaces/*.ctab']
},
)