Changeset 899e084 in sasview for sasview/installer_generator.py
- Timestamp:
- Jun 27, 2016 7:36:41 AM (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:
- 80c2c85
- Parents:
- efe730d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/installer_generator.py
refe730d r899e084 4 4 exists in the current directory. Edit local_config.py according to your needs. 5 5 """ 6 import os 7 import sys 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')) 6 12 from sas.sasview import local_config 7 import os8 import string9 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
Note: See TracChangeset
for help on using the changeset viewer.