forked from jansel/opentuner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·33 lines (30 loc) · 1016 Bytes
/
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
#!/usr/bin/python
try:
from setuptools import setup
except ImportError:
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rest')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
required = open('requirements.txt').read().splitlines()
required = [l.strip() for l in required
if l.strip() and not l.strip().startswith('#')]
setup(
name='opentuner',
version='0.6.0',
url='http://opentuner.org/',
license='MIT',
author='Jason Ansel',
author_email='jansel@jansel.net',
description='An extensible framework for program autotuning',
long_description=read_md('README.md'),
packages=['opentuner', 'opentuner.resultsdb', 'opentuner.utils',
'opentuner.measurement', 'opentuner.search'],
install_requires=required,
)