Changeset 6c13861 in sasview for sansmodels/src
- Timestamp:
- Oct 19, 2009 7:55:40 PM (15 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:
- 156a0b2
- Parents:
- eb575b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/setup.py
rb72b595 r6c13861 13 13 import os 14 14 15 toks = sys.version.split('.')16 if sys.platform.count("win32")>0 or sys.platform.count("win64"):17 py_path = "lib"18 else:19 py_path = os.path.join("lib","python"+toks[0]+"."+toks[1])20 numpy_incl_path = os.path.join(sys.prefix, py_path, "site-packages", "numpy", "core", "include", "numpy")21 22 15 from numpy.distutils.misc_util import get_numpy_include_dirs 23 numpy_incl_path = os.path. extend(get_numpy_include_dirs()[0], "numpy")16 numpy_incl_path = os.path.join(get_numpy_include_dirs()[0], "numpy") 24 17 25 18 def createODBcontent(class_name):
Note: See TracChangeset
for help on using the changeset viewer.