-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
70 lines (65 loc) · 2.06 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import os
from setuptools import find_namespace_packages, setup
REQUIRES = [
# request sending and authorization tools
"requests>=2.20.0",
"globus-sdk>=3.6.0,<4",
# 'websockets' is used for the client-side websocket listener
"websockets==9.1",
# table printing used in search result rendering
"texttable>=1.6.4,<2",
# dill is an extension of `pickle` to a wider array of native python types
# pin to the latest version, as 'dill' is not at 1.0 and does not have a clear
# versioning and compatibility policy
"dill==0.3.4",
# typing_extensions, so we can use Protocol and other typing features on python3.7
'typing_extensions>=4.0;python_version<"3.8"',
]
DOCS_REQUIRES = [
"sphinx<5",
"furo==2021.09.08",
]
TEST_REQUIRES = [
"flake8==3.8.0",
"numpy",
"pytest",
"pytest-mock",
"coverage",
# easy mocking of the `requests` library
"responses",
]
DEV_REQUIRES = TEST_REQUIRES + [
"pre-commit",
]
version_ns = {}
with open(os.path.join("funcx", "sdk", "version.py")) as f:
exec(f.read(), version_ns)
version = version_ns["__version__"]
setup(
name="funcx",
version=version,
packages=find_namespace_packages(include=["funcx", "funcx.*"]),
description="funcX: High Performance Function Serving for Science",
install_requires=REQUIRES,
extras_require={
"dev": DEV_REQUIRES,
"test": TEST_REQUIRES,
"docs": DOCS_REQUIRES,
},
python_requires=">=3.7",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
scripts=["funcx/serialize/off_process_checker.py"],
keywords=["funcX", "FaaS", "Function Serving"],
author="funcX team",
author_email="labs@globus.org",
license="Apache License, Version 2.0",
url="https://github.com/funcx-faas/funcx",
)