1010 raise ImportError (
1111 "'setuptools' is required but not installed. To install it, "
1212 "follow the instructions at "
13- "https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py" )
13+ "https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py"
14+ )
1415
1516
1617def read (* filenames , ** kwargs ):
@@ -25,7 +26,8 @@ def read(*filenames, **kwargs):
2526
2627root = os .path .dirname (os .path .realpath (__file__ ))
2728version_module = imp .load_source (
28- "version" , os .path .join (root , "nengo_spa" , "version.py" ))
29+ "version" , os .path .join (root , "nengo_spa" , "version.py" )
30+ )
2931testing = "test" in sys .argv or "pytest" in sys .argv
3032
3133docs_require = [
@@ -34,16 +36,14 @@ def read(*filenames, **kwargs):
3436 "nbsphinx" ,
3537 "nengo_sphinx_theme" ,
3638]
37- optional_requires = [
38- "scipy"
39- ]
39+ optional_requires = ["scipy" ]
4040tests_require = [
4141 "jupyter" ,
4242 "matplotlib>=2.0" ,
4343 "nbformat" ,
4444 "pytest>=4.0,<5" ,
4545 "pytest-plt" ,
46- "pytest-rng"
46+ "pytest-rng" ,
4747]
4848
4949setup (
@@ -55,35 +55,29 @@ def read(*filenames, **kwargs):
5555 packages = find_packages (exclude = ["*.tests" ]),
5656 scripts = [],
5757 license = "Free for non-commercial use" ,
58- description = "An implementation of the Semantic Pointer Architecture for "
59- "Nengo" ,
58+ description = "An implementation of the Semantic Pointer Architecture for " "Nengo" ,
6059 long_description = read ("README.rst" , "CHANGES.rst" ),
6160 zip_safe = True ,
6261 include_package_data = True ,
63- setup_requires = ["pytest-runner" ] if testing else [] + [
64- "numpy>=1.8" ,
65- ],
66- install_requires = [
67- "nengo>=2.7,<4" ,
68- "numpy>=1.8" ,
69- ],
70- extras_require = {
62+ setup_requires = ["pytest-runner" ] if testing else [] + ["numpy>=1.8" ,],
63+ install_requires = ["nengo>=2.7,<4" , "numpy>=1.8" ,],
64+ extras_require = {
7165 "all" : docs_require + optional_requires + tests_require ,
7266 "docs" : docs_require ,
7367 "optional" : optional_requires ,
74- "tests" : tests_require
68+ "tests" : tests_require ,
7569 },
7670 tests_require = tests_require ,
77- entry_points = {
78- },
71+ entry_points = {},
7972 classifiers = [ # https://pypi.python.org/pypi?%3Aaction=list_classifiers
80- "Development Status :: 4 - Beta " ,
73+ "Development Status :: 5 - Production/Stable " ,
8174 "Intended Audience :: Science/Research" ,
8275 "License :: Free for non-commercial use" ,
8376 "Operating System :: OS Independent" ,
84- "Programming Language :: Python :: 3.4" ,
8577 "Programming Language :: Python :: 3.5" ,
8678 "Programming Language :: Python :: 3.6" ,
79+ "Programming Language :: Python :: 3.7" ,
80+ "Programming Language :: Python :: 3.8" ,
8781 "Topic :: Scientific/Engineering :: Artificial Intelligence" ,
8882 ],
8983)
0 commit comments