source: sasview/park-1.2.1/park/setup.py @ 3540156

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 3540156 was 3570545, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

Adding park Part 2

  • Property mode set to 100644
File size: 726 bytes
RevLine 
[3570545]1#!/usr/bin/env python
2# This program is public domain
3
4import os.path
5from numpy.distutils.misc_util import Configuration
6from numpy.distutils.core      import setup
7
8
9def configuration(parent_package='',
10                  top_path=None
11                  ):
12    config = Configuration('park', parent_package, top_path)
13
14    # Extension reflmodule
15    sources = [os.path.join(config.package_path,'lib',s)
16               for s in ('modeling.cc','resolution.c')]
17
18    config.add_extension('_modeling',
19                         include_dirs=[config.package_path],
20                         sources=sources,
21                         )
22
23
24    return config
25
26if __name__ == '__main__':
27    setup(**configuration(top_path='').todict())
Note: See TracBrowser for help on using the repository browser.