setup.py.in 3.2 KB
Newer Older
1
2
3
4
################################################################################
#                                                                              #
#  Copyright 2015-2019 Max Planck Institute for Dynamics and Self-Organization #
#                                                                              #
Cristian Lalescu's avatar
Cristian Lalescu committed
5
#  This file is part of TurTLE.                                                #
6
#                                                                              #
Cristian Lalescu's avatar
Cristian Lalescu committed
7
#  TurTLE is free software: you can redistribute it and/or modify                #
8
9
10
11
#  it under the terms of the GNU General Public License as published           #
#  by the Free Software Foundation, either version 3 of the License,           #
#  or (at your option) any later version.                                      #
#                                                                              #
Cristian Lalescu's avatar
Cristian Lalescu committed
12
#  TurTLE is distributed in the hope that it will be useful,                     #
13
14
15
16
17
#  but WITHOUT ANY WARRANTY; without even the implied warranty of              #
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
#  GNU General Public License for more details.                                #
#                                                                              #
#  You should have received a copy of the GNU General Public License           #
Cristian Lalescu's avatar
Cristian Lalescu committed
18
#  along with TurTLE.  If not, see <http://www.gnu.org/licenses/>                #
19
20
21
22
#                                                                              #
# Contact: Cristian.Lalescu@ds.mpg.de                                          #
#                                                                              #
################################################################################
Cristian Lalescu's avatar
Cristian Lalescu committed
23
24
25



26
27
28
AUTHOR = 'Cristian C Lalescu'
AUTHOR_EMAIL = 'Cristian.Lalescu@ds.mpg.de'

29
30
31
import pickle

### package versioning
32
VERSION = '@TURTLE_VERSION_LONG@'
Cristian Lalescu's avatar
Cristian Lalescu committed
33
print('This is TurTLE version ' + VERSION)
Cristian Lalescu's avatar
Cristian Lalescu committed
34

35
from setuptools import setup
Cristian Lalescu's avatar
Cristian Lalescu committed
36
37

setup(
Cristian Lalescu's avatar
Cristian Lalescu committed
38
        name = 'TurTLE',
39
        packages = ['TurTLE', 'TurTLE/test'],
40
        install_requires = ['numpy>=1.8', 'h5py>=2.2.1'],
41
42
        # package data is installed by CMake
        #package_data = {'TurTLE': []},
Cristian Lalescu's avatar
Cristian Lalescu committed
43
44
        entry_points = {
            'console_scripts': [
Cristian Lalescu's avatar
Cristian Lalescu committed
45
46
47
48
                'turtle = TurTLE.__main__:main',
                'turtle.test_NSVEparticles = TurTLE.test.test_turtle_NSVEparticles:main',
                'turtle.test_particles = TurTLE.test.test_particles:main',
                'turtle.test_Parseval = TurTLE.test.test_Parseval:main',
Cristian Lalescu's avatar
Cristian Lalescu committed
49
50
                'turtle.test_fftw = TurTLE.test.test_fftw:main',
                'turtle.test_Heun_p2p = TurTLE.test.test_Heun_p2p:main'],
Cristian Lalescu's avatar
Cristian Lalescu committed
51
            },
52
        version = VERSION,
Cristian Lalescu's avatar
Cristian Lalescu committed
53
54
########################################################################
# useless stuff folows
55
56
# if anyone knows how to open the README when calling this script from
# cmake, please let me know.
Cristian Lalescu's avatar
Cristian Lalescu committed
57
########################################################################
Cristian Lalescu's avatar
Cristian Lalescu committed
58
        description = 'Turbulence Tools: Lagrangian and Eulerian',
59
        #long_description = open('${PROJECT_SOURCE_DIR}/README.rst', 'r').read(),
60
61
        author = AUTHOR,
        author_email = AUTHOR_EMAIL,
62
        license = 'GPL version 3.0')
Cristian Lalescu's avatar
Cristian Lalescu committed
63