Skip to content

Commit

Permalink
update installation setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Oct 5, 2022
1 parent 0b95e2a commit 4417069
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
README = f.read()

# require users to install jaxlib before installing brainpy on Windows platform
requirements = ['numpy>=1.15', 'jax>=0.3.0', 'tqdm']
if sys.platform.startswith('win32') or sys.platform.startswith('cygwin'):
try:
import jaxlib
Expand All @@ -52,8 +53,10 @@
----------------------------------------------------------------------
''') from None
else:
requirements.append('jaxlib>=0.3.0')


# installation packages
packages = find_packages()
if 'docs' in packages:
packages.remove('docs')
Expand All @@ -71,25 +74,20 @@
author_email='chao.brain@qq.com',
packages=packages,
python_requires='>=3.7',
install_requires=[
'numpy>=1.15',
'jax>=0.3.0',
'jaxlib>=0.3.0',
'tqdm',
],
install_requires=requirements,
url='https://github.com/PKU-NIP-Lab/BrainPy',
project_urls={
"Bug Tracker": "https://github.com/PKU-NIP-Lab/BrainPy/issues",
"Documentation": "https://brainpy.readthedocs.io/",
"Source Code": "https://github.com/PKU-NIP-Lab/BrainPy",
},
keywords='computational neuroscience, '
'brain-inspired computation, '
'dynamical systems, '
'differential equations, '
'brain modeling, '
'brain dynamics modeling, '
'brain dynamics programming',
keywords=('computational neuroscience, '
'brain-inspired computation, '
'dynamical systems, '
'differential equations, '
'brain modeling, '
'brain dynamics modeling, '
'brain dynamics programming'),
classifiers=[
'Natural Language :: English',
'Operating System :: OS Independent',
Expand Down

0 comments on commit 4417069

Please sign in to comment.