Skip to content

Commit

Permalink
Update PyPI classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
jgosmann committed Jun 23, 2020
1 parent d3b79d9 commit 3cb3b03
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
raise ImportError(
"'setuptools' is required but not installed. To install it, "
"follow the instructions at "
"https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py")
"https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py"
)


def read(*filenames, **kwargs):
Expand All @@ -25,7 +26,8 @@ def read(*filenames, **kwargs):

root = os.path.dirname(os.path.realpath(__file__))
version_module = imp.load_source(
"version", os.path.join(root, "nengo_spa", "version.py"))
"version", os.path.join(root, "nengo_spa", "version.py")
)
testing = "test" in sys.argv or "pytest" in sys.argv

docs_require = [
Expand All @@ -34,16 +36,14 @@ def read(*filenames, **kwargs):
"nbsphinx",
"nengo_sphinx_theme",
]
optional_requires = [
"scipy"
]
optional_requires = ["scipy"]
tests_require = [
"jupyter",
"matplotlib>=2.0",
"nbformat",
"pytest>=4.0,<5",
"pytest-plt",
"pytest-rng"
"pytest-rng",
]

setup(
Expand All @@ -55,35 +55,29 @@ def read(*filenames, **kwargs):
packages=find_packages(exclude=["*.tests"]),
scripts=[],
license="Free for non-commercial use",
description="An implementation of the Semantic Pointer Architecture for "
"Nengo",
description="An implementation of the Semantic Pointer Architecture for " "Nengo",
long_description=read("README.rst", "CHANGES.rst"),
zip_safe=True,
include_package_data=True,
setup_requires=["pytest-runner"] if testing else [] + [
"numpy>=1.8",
],
install_requires = [
"nengo>=2.7,<4",
"numpy>=1.8",
],
extras_require = {
setup_requires=["pytest-runner"] if testing else [] + ["numpy>=1.8",],
install_requires=["nengo>=2.7,<4", "numpy>=1.8",],
extras_require={
"all": docs_require + optional_requires + tests_require,
"docs": docs_require,
"optional": optional_requires,
"tests": tests_require
"tests": tests_require,
},
tests_require=tests_require,
entry_points={
},
entry_points={},
classifiers=[ # https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: Free for non-commercial use",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)

0 comments on commit 3cb3b03

Please sign in to comment.