-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
48 lines (42 loc) · 1.45 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
# This file is part of turbulucid
# (c) 2018 Timofey Mukha
# The code is released under the GNU GPL Version 3 licence.
# See LICENCE.txt and the Legal section in the README for more information
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)[22:])
return paths
extra_files = package_files(os.path.join('.', 'turbulucid', 'datasets'))
setup(name='turbulucid',
version='0.4',
description='A package for post-processing of 2D flow fields.',
url='https://github.com/timofeymukha/turbulucid',
author='Timofey Mukha',
author_email='timofey.mukha@it.uu.se',
packages=find_packages(),
scripts=[],
entry_points={
'console_scripts': [
'averageAlongAxis=turbulucid.bin.averageAlongAxis:main'
]
},
include_package_data=True,
package_data={
'turbulucid.datasets':extra_files
},
install_requires=[
'numpy',
'scipy',
'matplotlib',
'pytest'
],
license="GNU GPL 3",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
],
zip_safe=False)