forked from stanfordmlgroup/LaunchPad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (49 loc) · 1.47 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup for Lauchpad."""
import io
from setuptools import setup, find_packages
INSTALL_REQUIRES = (
['fire>=0.2',
'scikit-learn>=0.20',
'importlib-resources==1.4.0',
'pyngrok>=5.0.1',
'psutil>=5.8.0',
'numpy',
'pandas',
'tabulate',
'pyyaml',
'cachetools'
]
)
def version():
return "1.2.2"
setup(
name='launch-pad',
version=version(),
description='A tool that automatically compile and launch slurm jobs \
based on a YAML configuration file.',
long_description="",
license='Expat License',
author='Hao Sheng',
author_email='[email protected]',
url='https://github.com/stanfordmlgroup/LaunchPad',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='automation, sbatch',
install_requires=INSTALL_REQUIRES,
packages=find_packages(),
data_files=[('slurm_script', ['launchpad/job/scripts/sbatch_template.sh'])],
zip_safe=False,
include_package_data=True,
entry_points={'console_scripts': ['lp = launchpad:main']},
)