forked from nest/ode-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding setup.py for installation and testing
- Loading branch information
Showing
3 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[aliases] | ||
test = pytest | ||
|
||
[tool:pytest] | ||
addopts = --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/usr/bin/env python | ||
# | ||
# setup.py | ||
# | ||
# This file is part of the NEST ODE toolbox. | ||
# | ||
# Copyright (C) 2017 The NEST Initiative | ||
# | ||
# The NEST ODE toolbox is free software: you can redistribute it | ||
# and/or modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation, either version 2 of | ||
# the License, or (at your option) any later version. | ||
# | ||
# The NEST ODE toolbox 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 | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with NEST. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
|
||
from setuptools import setup | ||
|
||
long_description = """The NEST ODE toolbox provides utility | ||
classes and functions for selecting and generating solvers | ||
for the differential equations commonly used in spiking neuron | ||
models.""" | ||
|
||
setup ( | ||
name = "odetoolbox", | ||
version = "1.0", | ||
author = "The NEST Initiative", | ||
classifiers = [ | ||
'Development Status :: 3 - Alpha', | ||
'Environment :: Console', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: GNU General Public License (GPL)', | ||
'Natural Language :: English', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Scientific/Engineering' | ||
], | ||
description = "The NEST ODE toolbox", | ||
keywords = "computational neuroscience modeling connectivity", | ||
license = "GPLv3", | ||
long_description = long_description, | ||
packages = ['odetoolbox'], | ||
package_dir={'odetoolbox': 'odetoolbox'}, | ||
requires = ['matplotlib', 'numpy', 'sympy'], | ||
scripts= ['ode_analyzer.py'], | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest'], | ||
url = "https://github.com/nest/ode-toolbox", | ||
) |