-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (61 loc) · 2.28 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
import os
from setuptools import find_packages, setup # noqa: H301
DESCRIPTION = "Ensemble orchestrator for queue orchestration"
# Try to read description, otherwise fallback to short description
try:
with open(os.path.abspath("README.md")) as filey:
LONG_DESCRIPTION = filey.read()
except Exception:
LONG_DESCRIPTION = DESCRIPTION
# Read in the version
# This is a bit janky I admit :)
with open(os.path.join("ensemble", "__init__.py")) as fd:
version = fd.read().strip().replace("__version__ = ", "").replace('"', "")
################################################################################
# MAIN #########################################################################
################################################################################
if __name__ == "__main__":
setup(
name="ensemble-python",
version=version,
author="Vanessasaurus",
author_email="vsoch@users.noreply.github.com",
maintainer="Vanessasaurus",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
url="https://github.com/converged-computing/ensemble-python",
license="MIT",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords="multi-cluster, scheduler",
setup_requires=["pytest-runner"],
install_requires=[
"grpcio",
"grpcio-tools",
"jsonschema",
"pyyaml",
"jobspec",
"river",
"kubernetes",
],
tests_require=["pytest", "pytest-cov"],
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Unix",
"Programming Language :: Python :: 3.8",
],
entry_points={
"console_scripts": [
"ensemble-server=ensemble.server:main",
"ensemble=ensemble.client:run_ensemble",
]
},
)