-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (29 loc) · 960 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
34
35
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = package_files('chromatin')
extra_files = list(filter(lambda x: ".py" not in x, extra_files))
setup(
name='hpcbench',
description='System preparation, logging and analysis tools for hpc '
'benchmarking',
author='Rob Welch',
author_email='[email protected]',
license='AGPLv3',
version='0.2.0',
packages=find_packages(),
include_package_data=True,
package_data={'extra': extra_files},
zip_safe=False,
entry_points={
'console_scripts': ['hpcbench=hpcbench.hpcbench:entry_point'],
},
install_requires=["matplotlib", "numpy", "glob2", "more-itertools"]
)