-
Notifications
You must be signed in to change notification settings - Fork 110
/
setup.py
executable file
·50 lines (43 loc) · 1.28 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
48
49
50
# Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
# Project developers. See the top-level LICENSE file for dates and other
# details. No copyright assignment is required to contribute to VisIt.
"""
file: setup_tests.py
author: Cyrus Harrison <cyrush@llnl.gov>
created: 3/28/2010
description:
distutils setup script for the 'visit_flow_vpe' module.
"""
import sys
__system_bytecode_setting = sys.dont_write_bytecode
sys.dont_write_bytecode = True
from setuptools import setup
import sys
# TODO: update setup_tests
# and cmdclass = { 'test': setup_tests.ExecuteTests}
#import setup_tests
#
# Support running tests w/ visit's cli.
#
using_visit = False
try:
# the command line string passed to cli
# will confuse distutils, so modify
# sys.argv to only have args passed after
# '-s setup.py'
args = Argv()
sys.argv = [__file__]
sys.argv.extend(args)
using_visit = True
except:
pass
setup(name='flow',
author = 'Cyrus Harrison',
author_email = 'cyrush@llnl.gov',
description ='visit_flow_vpe',
package_dir = {'visit_flow_vpe':'src'},
packages=['visit_flow_vpe'],
package_data= { "visit_flow_vpe": ["*.vpe"]})
# cmdclass = { 'test': setup_tests.ExecuteTests})
if using_visit:
sys.exit(0)