source: sasview/pr_inversion/setup.py @ 4378360

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 4378360 was 9e8dc22, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

Initial import.

  • Property mode set to 100644
File size: 982 bytes
RevLine 
[9e8dc22]1import sys, os
2
3# Then build and install the modules
4from distutils.core import setup, Extension
5
6#numpy_incl = "Lib\site-packages\numpy\core\include\numpy"
7numpy_incl_path = os.path.join(sys.prefix, "Lib", "site-packages", "numpy", "core", "include", "numpy")
8print "NUMPY", numpy_incl_path
9
10# Build the module name
11srcdir  = "c_extensions"
12
13setup(
14    name="pr_inversion",
15    version = "0.1",
16    description = "Python module inversion of the scattering intensity to P(r)",
17    author = "University of Tennessee",
18    url = "danse.chem.utk.edu",
19   
20    # Use the pure python modules
21    package_dir = {"sans.pr.core":"c_extensions",
22                   "sans.pr": "."},
23   
24    packages = ["sans.pr","sans.pr.core"],
25   
26    ext_modules = [ Extension("sans.pr.core.pr_inversion",
27     sources = [
28        srcdir+"/Cinvertor.c",
29        srcdir+"/invertor.c",
30            ],
31         include_dirs=[numpy_incl_path]
32     
33     
34     )])
35       
Note: See TracBrowser for help on using the repository browser.