-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
executable file
·46 lines (39 loc) · 1.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
#! /usr/bin/env python3
import setuptools
import shlex
import subprocess
def install_python2_requirements():
cmd = 'python2.7 -m pip install --user -r requirements2.txt'
args = shlex.split(cmd)
subprocess.call(args)
def main():
install_python2_requirements()
with open('README.md', 'r') as f:
long_description = f.read()
with open('requirements.txt', 'r') as f:
install_requires = f.read().split()
setuptools.setup(
name='lapidary',
version='0.7.1',
author='Ian Glen Neal',
author_email='iangneal@umich.com',
description='A tool for scalable Gem5 Simulation',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/efeslab/lapidary',
packages=setuptools.find_packages(),
package_data={'lapidary': [
'config/schema.yaml',
'checkpoint/get_brk.c',
'checkpoint/get_fs_base.c'
]},
setup_requires=['wheel'],
install_requires=install_requires,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
)
if __name__ == '__main__':
main()