-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
29 lines (26 loc) · 909 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
import os
from setuptools import setup, find_packages
def package_files(directory, append_to=None):
directory = os.path.normpath(directory)
if append_to is None:
paths = []
else:
paths = append_to
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
test_files = package_files('harpy/tests/testdata')
setup(
name='harpy3',
version='0.3.1',
description='Library for reading/modifying/writing header-array (HAR) files.',
packages=find_packages(),
url='https://github.com/GEMPACKsoftware/HARPY',
license='GPLv3',
python_requires=">=3.4",
install_requires=['numpy'],
author="Florian Schiffmann, Lyle Collins",
author_email='[email protected], [email protected]',
package_data={'harpy': test_files},
)