-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (52 loc) · 1.45 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
from setuptools import setup, find_namespace_packages
def _read(f) -> bytes:
"""
Reads in the content of the file.
:param f: the file to read
:type f: str
:return: the content
:rtype: str
"""
return open(f, 'rb').read()
setup(
name="ufdl.joblauncher",
description="Launches jobs of the UFDL framework.",
long_description=(
_read('DESCRIPTION.rst') + b'\n' +
_read('CHANGES.rst')).decode('utf-8'),
url="https://github.com/waikato-ufdl/ufdl-job-launcher",
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
],
license='Apache 2.0 License',
package_dir={
'': 'src'
},
packages=find_namespace_packages(where='src'),
namespace_packages=[
"ufdl",
],
version="0.0.1",
author='Peter Reutemann',
author_email='fracpete@waikato.ac.nz',
install_requires=[
"wai.lazypip",
"ufdl.pythonclient",
"ufdl.json-messages",
"psutil",
"pyyaml",
"ufdl.jobtypes",
"ufdl.jobcontracts",
"wai.annotations==0.8.0",
"ufdl-annotations-plugin"
],
entry_points={
"console_scripts": [
"ufdl-joblauncher=ufdl.joblauncher.run:sys_main",
"ufdl-hwinfo=ufdl.joblauncher.hardwareinfo:sys_main",
]
}
)