Changeset 80c2c85 in sasview for sasview/installer_generator.py
- Timestamp:
- Jun 28, 2016 3:10:33 PM (8 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3aa2f3c
- Parents:
- 899e084 (diff), 5552396 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/installer_generator.py
r6a698c0 r899e084 4 4 exists in the current directory. Edit local_config.py according to your needs. 5 5 """ 6 import local_config7 import os6 import os 7 import sys 8 8 import string 9 10 root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 11 sys.path.insert(0, os.path.join(root, 'sasview-install', 'Lib', 'site-packages')) 12 from sas.sasview import local_config 9 13 10 14 REG_PROGRAM = """{app}\MYPROG.EXE"" ""%1""" … … 13 17 AppVerName = str(local_config.__appname__ )+'-'+ str(local_config.__version__) 14 18 Dev = '' 15 if AppVerName.lower().count('dev') > 0:19 if 'dev' in AppVerName.lower(): 16 20 Dev = '-Dev' 17 21 AppPublisher = local_config._copyright … … 24 28 25 29 OutputBaseFilename = local_config.OutputBaseFilename 26 SetupIconFile = "images\\ball.ico"30 SetupIconFile = local_config.SetupIconFile_win 27 31 LicenseFile = 'license.txt' 28 32 DisableProgramGroupPage = 'yes'
Note: See TracChangeset
for help on using the changeset viewer.