-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
45 lines (39 loc) · 1.3 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
# -*- coding: utf-8 -*-
import io
import os
import re
from setuptools import find_packages
from setuptools import setup
# obtain version string from __init__.py
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'bpmodels', '__init__.py'), 'r') as f:
init_py = f.read()
version = re.search('__version__ = "(.*)"', init_py).groups()[0]
# obtain long description from README and CHANGES
with io.open(os.path.join(here, 'README.md'), 'r', encoding='utf-8') as f:
README = f.read()
# setup
setup(
name='bpmodels',
version=version,
description='BrainPy-Models: An example package accompany with BrainPy.',
long_description=README,
long_description_content_type="text/markdown",
author='Pku-Nip-Lab',
author_email='[email protected]',
packages=find_packages(),
python_requires='>=3.7',
install_requires=[
'Brain.Py',
],
url='https://github.com/PKU-NIP-Lab/BrainPy-Models',
keywords='computational neuroscience',
classifiers=[
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics'
]
)