-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (19 loc) · 784 Bytes
/
setup.py
File metadata and controls
23 lines (19 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os.path as op
from setuptools import findall, setup, find_packages
thispath = op.dirname(__file__)
ldict = locals()
# Get version and release info, which is all stored in heudiconv/info.py
info_file = op.join(thispath, 'brainplot', 'info.py')
with open(info_file) as infofile:
exec(infofile.read(), globals(), ldict)
SETUP_REQUIRES = ['numpy']
setup(name=ldict['__packagename__'],
maintainer=ldict['MAINTAINER'],
maintainer_email=ldict['MAINTAINER_EMAIL'],
url=ldict['__url__'],
version=ldict['__version__'],
packages=find_packages(),
install_requires=ldict['REQUIRES'],
setup_requires=SETUP_REQUIRES,
tests_requires=ldict['TESTS_REQUIRES'],
entry_points={'console_scripts': ['brainplot=brainplot.plotting:main']})