-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (54 loc) · 2.05 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
import os
from setuptools import find_packages, setup # noqa: H301
DESCRIPTION = "Helper tool to install and configure Flux Framework"
# 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("fluxgen", "__init__.py")) as fd:
version = fd.read().strip().replace("__version__ = ", "").replace('"', "")
################################################################################
# MAIN #########################################################################
################################################################################
if __name__ == "__main__":
setup(
name="fluxgen",
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/fluxgen",
license="MIT",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords="multi-cluster, scheduler",
setup_requires=["pytest-runner"],
install_requires=[
"Jinja2",
"pyyaml",
],
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.11",
],
entry_points={
"console_scripts": [
"fluxgen=fluxgen.client:run_fluxgen",
]
},
)