You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
812 B
25 lines
812 B
from setuptools import setup, find_packages |
|
import os |
|
|
|
path = os.path.join(os.path.dirname(__file__), "cnmodel") |
|
version = None |
|
for line in open(os.path.join(path, "__init__.py"), "r").readlines(): |
|
if line.startswith("__version__"): |
|
version = line.partition("=")[2].strip("\"' \n") |
|
break |
|
if version is None: |
|
raise Exception("Could not read __version__ from cnmodel/__init__.py") |
|
|
|
|
|
setup( |
|
name="cnmodel", |
|
version=version, |
|
description="A biophysically realistic model of the cochlear nucleus", |
|
url="http://github.com/pbmanis/cnmodel", |
|
author="Paul B. Manis and Luke Campagnola", |
|
author_email="pmanis@med.unc.edu", |
|
license="MIT", |
|
packages=find_packages(include=["cnmodel*"]), |
|
zip_safe=False, |
|
install_requires=['cochlea', 'lmfit', 'tqdm', 'resampy'] |
|
)
|
|
|