Changeset 72cad53 in sasview
- Timestamp:
- Aug 11, 2011 4:29:45 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ac53523
- Parents:
- aa0139a9
- Location:
- pr_inversion
- Files:
-
- 4 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pr_inversion/setup.py
r18c6f6a r72cad53 4 4 import sys 5 5 import os 6 7 6 # Then build and install the modules 8 7 from distutils.core import setup, Extension 9 8 from numpy.distutils.misc_util import get_numpy_include_dirs 9 10 10 11 numpy_incl_path = os.path.join(get_numpy_include_dirs()[0], "numpy") 11 #numpy_incl = "Lib\site-packages\numpy\core\include\numpy"12 #numpy_incl_path = os.path.join(sys.prefix, "Lib", "site-packages", "numpy", "core", "include", "numpy")13 #print "NUMPY", numpy_incl_path14 15 12 # Build the module name 16 13 srcdir = os.path.join("src", "sans", "pr", "c_extensions") … … 18 15 setup( 19 16 name="pr_inversion", 20 version ="0.9",21 description ="Python module inversion of the scattering intensity to P(r)",22 author ="University of Tennessee",23 url ="danse.chem.utk.edu",17 version="0.9", 18 description="Python module inversion of the scattering intensity to P(r)", 19 author="University of Tennessee", 20 url="danse.chem.utk.edu", 24 21 25 22 # Use the pure python modules … … 27 24 "sans.pr.core":srcdir, 28 25 "sans.pr": os.path.join("src","sans", "pr")}, 29 30 26 packages = ["sans", "sans.pr","sans.pr.core"], 31 32 27 ext_modules = [ Extension("sans.pr.core.pr_inversion", 33 28 sources = [ os.path.join(srcdir, "Cinvertor.c"), … … 36 31 include_dirs=[numpy_incl_path] 37 32 38 39 33 )]) 40 34
Note: See TracChangeset
for help on using the changeset viewer.