Changes in sasview/setup_exe.py [61c93b3:42811b8] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_exe.py
r61c93b3 r42811b8 280 280 # Copying the images directory to the distribution directory. 281 281 for f in findall(images_dir): 282 if os.path.split(f)[0].count('.svn')==0:282 if not ".svn" in f: 283 283 data_files.append(("images", [f])) 284 284 285 285 # Copying the HTML help docs 286 286 for f in findall(media_dir): 287 if os.path.split(f)[0].count('.svn')==0:287 if not ".svn" in f: 288 288 data_files.append(("media", [f])) 289 289 290 290 # Copying the sample data user data 291 291 for f in findall(test_dir): 292 if os.path.split(f)[0].count('.svn')==0:292 if not ".svn" in f: 293 293 data_files.append(("test", [f])) 294 294 295 # See if the documentation has been built, and if so include it. 296 doc_path = os.path.join(build_path, "doc") 297 if os.path.exists(doc_path): 298 for dirpath, dirnames, filenames in os.walk(doc_path): 299 for filename in filenames: 300 sub_dir = os.path.join("doc", os.path.relpath(dirpath, doc_path)) 301 data_files.append((sub_dir, [os.path.join(dirpath, filename)])) 302 else: 303 raise Exception("You must first build the documentation before creating an installer.") 304 295 305 if py26MSdll != None: 296 306 # install the MSVC 9 runtime dll's into the application folder … … 323 333 ]) 324 334 #packages.append('IPython') 325 includes = ['site' ]335 includes = ['site','lxml._elementpath', 'lxml.etree'] 326 336 327 337 # Exclude packages that are not needed but are often found on build systems
Note: See TracChangeset
for help on using the changeset viewer.