Changeset 1018 for trunk/lang/python


Ignore:
Timestamp:
Jun 8, 2008, 6:24:34 PM (16 years ago)
Author:
gah
Message:

Massive changes: New directory/file layout

Location:
trunk/lang
Files:
2 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/lang/python/setup.py.in

    r791 r1018  
    22
    33rp_install_dir = '@prefix@'
     4tmpdir = 'build/tmp/'
     5srcdir = '@srcdir@/Rappture/'
     6incdir = '@prefix@/include'
     7libdir = '@prefix@/lib'
    48
    59library_module = Extension('Rappture.library',
    6                    include_dirs = [rp_install_dir+'/include', '../include'],
    7                    sources = [ 'Rappture/PyRpLibrary.cc' ],
    8                    library_dirs = [ rp_install_dir+'/lib', '../src' ],
    9                    libraries = [ 'rappture' ] )
     10                           include_dirs = [incdir, '../include'],
     11                           sources = [ tmpdir+'PyRpLibrary.cc' ],
     12                           library_dirs = [ libdir, '../src' ],
     13                           libraries = [ 'rappture' ] )
    1014
    1115units_module = Extension('Rappture.Units',
    12                    include_dirs = [rp_install_dir+'/include', '../include'],
    13                    sources = [ 'Rappture/PyRpUnits.cc' ],
    14                    library_dirs = [ rp_install_dir+'/lib', '../src' ],
    15                    libraries = [ 'rappture' ] )
     16                         include_dirs = [incdir, '../include'],
     17                         sources = [ tmpdir+'PyRpUnits.cc' ],
     18                         library_dirs = [ libdir, '../src' ],
     19                         libraries = [ 'rappture' ] )
    1620
    1721utils_module = Extension('Rappture.Utils',
    18                    include_dirs = [rp_install_dir+'/include', '../include'],
    19                    sources = [ 'Rappture/PyRpUtils.cc' ],
    20                    library_dirs = [ rp_install_dir+'/lib', '../src' ],
    21                    libraries = [ 'rappture' ] )
     22                         include_dirs = [ incdir, '../include'],
     23                         sources = [ tmpdir+'PyRpUtils.cc' ],
     24                         library_dirs = [ libdir, '../src' ],
     25                         libraries = [ 'rappture' ] )
    2226
    2327encode_module = Extension('Rappture.encoding',
    24                    include_dirs = [rp_install_dir+'/include', '../include'],
    25                    sources = [ 'Rappture/PyRpEncode.cc' ],
    26                    library_dirs = [ rp_install_dir+'/lib', '../src' ],
    27                    libraries = [ 'rappture' ] )
     28                          include_dirs = [ incdir, '../include'],
     29                          sources = [ tmpdir+'PyRpEncode.cc' ],
     30                          library_dirs = [ libdir, '../src' ],
     31                          libraries = [ 'rappture' ] )
    2832
    2933setup(  name='Rappture',
     
    3135        description='Rapid Application Infrastructure library for nanoHUB.org',
    3236        url='http://www.nanohub.org/',
     37        package_dir={ 'Rappture' : srcdir },
    3338        py_modules=[ 'Rappture.interface',
    3439                     'Rappture.number',
     
    3742                     'Rappture.tools',
    3843                     'Rappture.result'],
    39         ext_modules=[   encode_module,
    40                         library_module,
    41                         units_module,
    42                         utils_module    ]
     44        ext_modules=[ encode_module,
     45                      library_module,
     46                      units_module,
     47                      utils_module ]
    4348  )
Note: See TracChangeset for help on using the changeset viewer.