setup.py.proto 1.39 KB
Newer Older
1 2 3 4 5
from distutils.core import setup, Extension

module1 = Extension('va',
					define_macros = [	( 'VA_PYTHON_VERSION_MAJOR', '@ITA_VAPYTHON_VERSION_MAJOR@' ),
										( 'VA_PYTHON_VERSION_MINOR', '@ITA_VAPYTHON_VERSION_MINOR@' ),
Dipl.-Ing. Jonas Stienen's avatar
Dipl.-Ing. Jonas Stienen committed
6 7 8 9 10
										( 'VABASE_STATIC', 0 ),
										( 'VANET_STATIC', 0 ),
										( 'VISTABASE_STATIC', 0 ),
										( 'VISTAINTERPROCCOMM_STATIC', 0 ),
										( 'VISTAASPECTS_STATIC',0 ) ],
11 12
                    include_dirs = [ '../VABase/include', '../VANet/include' ],
                    libraries = [ 'VABase', 'VANet', 'VistaBase', 'VistaAspects', 'VistaInterProcComm', 'winmm', 'ws2_32' ],
13
                    library_dirs = [ '../build_win32-x64.vc14_static/lib','../../ViSTA/build_win32-x64.vc14_static/lib' ],
14 15 16 17 18 19 20 21 22 23 24
					sources = [ 'src/vasingleton.cpp' ] )

setup ( name = 'va',
        version = '@ITA_VAPYTHON_VERSION_MAJOR@@ITA_VAPYTHON_VERSION_MINOR@',
        description = 'Virtual Acoustics (VA) singleton interface',
        author = 'Institute of Technical Acoustics (ITA), RWTH Aachen University',
        author_email = 'post@akustik.rwth-aachen.de',
        url = 'https://www.virtualacoustics.org',
        long_description = '''
Virtual Acoustics (VA) is a real-time auralization framework for Virtual Reality. This module is an interface to interact with a VA server.
''',
25
		license = "Copyright 2017-2019. Apache License Version 2.0",
26 27
        ext_modules = [ module1 ]
		)