- Timestamp:
- May 29, 2018 8:45:04 AM (6 years ago)
- Branches:
- ESS_GUI, 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
- Children:
- eca7c6f
- Parents:
- 9a7c81c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r417c03f r3010f68 17 17 import numpy as np 18 18 from setuptools import Extension, setup 19 20 try: 21 import tinycc.distutils 22 except ImportError: 23 pass 19 24 20 25 # Manage version number ###################################### … … 198 203 199 204 # sas module 200 #package_dir["sas.sasgui"] = os.path.join("src", "sas", "sasgui")201 #packages.append("sas.sasgui")202 203 205 # qt module 204 206 package_dir["sas.qtgui"] = os.path.join("src", "sas", "qtgui") … … 214 216 packages.extend(["sas.sascalc.invariant"]) 215 217 216 # sas.sasgui.guiframe217 # guiframe_path = os.path.join("src", "sas", "sasgui", "guiframe")218 # package_dir["sas.sasgui.guiframe"] = guiframe_path219 # package_dir["sas.sasgui.guiframe.local_perspectives"] = os.path.join(220 # os.path.join(guiframe_path, "local_perspectives"))221 # package_data["sas.sasgui.guiframe"] = ['images/*', 'media/*']222 # packages.extend(223 # ["sas.sasgui.guiframe", "sas.sasgui.guiframe.local_perspectives"])224 # # build local plugin225 # for d in os.listdir(os.path.join(guiframe_path, "local_perspectives")):226 # if d not in ['.svn', '__init__.py', '__init__.pyc']:227 # package_name = "sas.sasgui.guiframe.local_perspectives." + d228 # packages.append(package_name)229 # package_dir[package_name] = os.path.join(230 # guiframe_path, "local_perspectives", d)231 218 232 219 # sas.sascalc.dataloader … … 246 233 ext_modules.append(Extension("sas.sascalc.calculator.core.sld2i", 247 234 sources=[ 248 os.path.join(gen_dir, "sld2i_module.c pp"),249 os.path.join(gen_dir, "sld2i.c pp"),235 os.path.join(gen_dir, "sld2i_module.c"), 236 os.path.join(gen_dir, "sld2i.c"), 250 237 os.path.join(gen_dir, "libfunc.c"), 251 238 os.path.join(gen_dir, "librefl.c"), … … 280 267 include_dirs=[np.get_include()], 281 268 )) 269 282 270 # sas.sascalc.corfunc 283 271 package_dir["sas.sascalc.corfunc"] = os.path.join( 284 272 "src", "sas", "sascalc", "corfunc") 273 285 274 packages.extend(["sas.sascalc.corfunc"]) 286 275 … … 466 455 467 456 required = [ 468 'bumps>=0.7.5.9', 'periodictable>=1.5.0', 457 'bumps>=0.7.5.9', 'periodictable>=1.5.0', 'pyparsing>=2.0.0', 469 458 'lxml', 'h5py', 470 459
Note: See TracChangeset
for help on using the changeset viewer.