-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
45 lines (39 loc) · 1.81 KB
/
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
36
37
38
39
40
41
42
43
44
45
from setuptools import setup, find_packages
from os import path
package_name = "neuroport_dbs"
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'docs', 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Get the version number from the version file
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version = {}
with open(path.join(package_name, "version.py")) as fp:
exec(fp.read(), version)
setup(
name=package_name,
version=version['__version__'],
packages=find_packages() + ['neuroport_dbs/resources/icons'] + ['neuroport_dbs/resources/config'],
package_data={"neuroport_dbs/resources/icons": ["*.png"], "neuroport_dbs/resources/config": ["*.ini"]},
description='Tools for clinical research using Blackrock Neuroport in DBS MER',
long_description=long_description,
long_description_content_type="text/markdown",
author='Chadwick Boulay',
author_email='[email protected]',
maintainer='Guillaume Doucet',
maintainer_email='[email protected]',
url='https://github.com/SachsLab/NeuroportDBS',
license='GPL v3',
entry_points={
'gui_scripts': ['dbs-sweep=neuroport_dbs.SweepGUI:main',
'dbs-waveform=neuroport_dbs.WaveformGUI:main',
'dbs-raster=neuroport_dbs.RasterGUI:main',
'dbs-features=neuroport_dbs.FeaturesGUI:main',
'dbs-mapping=neuroport_dbs.MappingGUI:main',
'dbs-comments=neuroport_dbs.CommentsGUI:main',
'dbs-ddu=neuroport_dbs.DDUGUI:main',
],
}
)