forked from ncoish/rcsbsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (49 loc) · 1.81 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
46
47
48
49
50
51
52
53
54
55
import setuptools # type: ignore
import sys
# Load the version number from __init__.py
__version__ = "0.3.0"
# Version-specific requirements
install_requires = ["requests", "jsonschema"]
if sys.version_info < (3, 8):
install_requires.append("typing_extensions") # 3.7 only
# pin black version to get around https://github.com/psf/black/issues/2168
tests_requires = ["tox", "pytest", "black==20.8b1", "flake8", "mypy"]
# README
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="rcsbsearch",
url="https://github.com/sbliven/rcsbsearch",
description="Access the RCSB Search API",
long_description=long_description,
long_description_content_type="text/markdown",
author="Spencer Bliven",
author_email="[email protected]",
version=__version__,
tests_require=tests_requires,
install_requires=install_requires,
extras_require={
"progressbar": ["tqdm"],
"tests": tests_requires,
# should match docs/requirements.txt
"docs": ["sphinx", "sphinx-rtd-theme", "myst-parser"],
},
packages=setuptools.find_packages(exclude=["tests"]),
package_data={"": ["resources/*"]},
scripts=[],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Typing :: Typed",
],
# Uses dataclasses, f-strings, typing
python_requires=">=3.7",
)