Changes in setup.py [a7c4ad2:5881b17] in sasview
Legend:
- Unmodified
- Added
- Removed
-
setup.py
ra7c4ad2 r5881b17 38 38 # except when there is no such file 39 39 # Todo : make this list generic 40 # 40 #plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 41 41 # 'sum_Ap1_1_Ap2.py', 'sum_p1_p2.py', 42 42 # 'testmodel_2.py', 'testmodel.py', … … 59 59 if os.path.isfile(f_path): 60 60 os.remove(f_path) 61 # 62 # 61 #f_path = os.path.join(sas_dir, 'plugin_models') 62 #if os.path.isdir(f_path): 63 63 # for f in os.listdir(f_path): 64 64 # if f in plugin_model_list: … … 249 249 250 250 package_dir["sas.sasgui.perspectives.fitting"] = os.path.join("src", "sas", "sasgui", "perspectives", "fitting") 251 package_dir["sas.sasgui.perspectives.fitting.plugin_models"] = os.path.join("src", "sas", "sasgui", "perspectives", "fitting", "plugin_models") 252 packages.extend(["sas.sasgui.perspectives.fitting", "sas.sasgui.perspectives.fitting.plugin_models"]) 253 package_data['sas.sasgui.perspectives.fitting'] = ['media/*', 'plugin_models/*'] 251 packages.extend(["sas.sasgui.perspectives.fitting"]) 252 package_data['sas.sasgui.perspectives.fitting'] = ['media/*'] 254 253 255 254 packages.extend(["sas.sasgui.perspectives", "sas.sasgui.perspectives.calculator"]) … … 297 296 append_file(file_sources, gen_dir) 298 297 298 #Wojtek's hacky way to add doc files while bundling egg 299 #def add_doc_files(directory): 300 # paths = [] 301 # for (path, directories, filenames) in os.walk(directory): 302 # for filename in filenames: 303 # paths.append(os.path.join(path, filename)) 304 # return paths 305 306 #doc_files = add_doc_files('doc') 307 299 308 # SasView 300 309 package_dir["sas.sasview"] = "sasview" 301 package_data['sas.sasview'] = ['images/*', 310 package_data['sas.sasview'] = ['images/*', 302 311 'media/*', 303 312 'test/*.txt', … … 310 319 311 320 required = [ 312 'bumps>=0.7.5. 9', 'periodictable>=1.3.1', 'pyparsing<2.0.0',321 'bumps>=0.7.5.6', 'periodictable>=1.3.1', 'pyparsing<2.0.0', 313 322 314 323 # 'lxml>=2.2.2', … … 325 334 else: 326 335 required.extend(['pil']) 327 336 328 337 # Set up SasView 329 338 setup(
Note: See TracChangeset
for help on using the changeset viewer.