forked from BlueBrain/BluePyOpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
108 lines (97 loc) · 3.47 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#!/usr/bin/env python
"""BluePyOpt setup """
"""
Copyright (c) 2016-2020, EPFL/Blue Brain Project
This file is part of BluePyOpt <https://github.com/BlueBrain/BluePyOpt>
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License version 3.0 as published
by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""
import setuptools
import versioneer
EXTRA_SCOOP = [
'scoop>=0.7',
]
EXTRA_NEUROML = [
'pyneuroml>=0.5.20',
'libNeuroML>=0.3.1',
]
EXTRA_LFP = [
'LFPy>=2.3',
]
EXTRA_ARBOR = [
'arbor>=0.7',
]
setuptools.setup(
name="bluepyopt",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=[
'numpy>=1.6',
'pandas>=0.18',
'deap>=1.3.3',
'efel>=2.13',
'ipyparallel',
'pickleshare>=0.7.3',
'Jinja2>=2.8',
'future',
'Pebble>=4.3.10',
],
extras_require={
'all': EXTRA_SCOOP + EXTRA_NEUROML + EXTRA_LFP + EXTRA_ARBOR,
'tests': EXTRA_NEUROML + EXTRA_LFP + EXTRA_ARBOR,
'scoop': EXTRA_SCOOP,
'neuroml': EXTRA_NEUROML,
'lfpy': EXTRA_LFP,
'arbor': EXTRA_ARBOR,
},
packages=setuptools.find_packages(
exclude=(
'examples',
)),
author="BlueBrain Project, EPFL",
author_email="werner.vangeit@epfl.ch",
description="Bluebrain Python Optimisation Library (bluepyopt)",
long_description="The Blue Brain Python Optimisation Library (BluePyOpt) "
"is an extensible framework for data-driven model parameter "
"optimisation that wraps and standardises several existing "
"open-source tools. It simplifies the task of creating and "
"sharing these optimisations, and the associated techniques "
"and knowledge. This is achieved by abstracting the optimisation "
"and evaluation tasks into various reusable and flexible discrete "
"elements according to established best-practices.",
license="LGPLv3",
keywords=(
'optimisation',
'neuroscience',
'BlueBrainProject'),
url='https://github.com/BlueBrain/BluePyOpt',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: OSI Approved :: GNU Lesser General Public '
'License v3 (LGPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Operating System :: POSIX',
'Topic :: Scientific/Engineering',
'Topic :: Utilities'],
entry_points={
'console_scripts': ['bpopt_tasksdb=bluepyopt.ipyp.bpopt_tasksdb:main'],
},
package_data={
'bluepyopt': [
'ephys/static/arbor_mechanisms.json',
'ephys/templates/cell_template.jinja2',
'ephys/templates/acc/_json_template.jinja2',
'ephys/templates/acc/decor_acc_template.jinja2',
'ephys/templates/acc/label_dict_acc_template.jinja2',
'ephys/examples/simplecell/simple.swc',
'neuroml/NeuroML2_mechanisms/*.nml'],
})