Skip to content

Commit

Permalink
Include source and built docs in installer and put files in user dire…
Browse files Browse the repository at this point in the history
…ctory on install
  • Loading branch information
krzywon committed Jan 5, 2024
1 parent df86962 commit 1d217f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions installers/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ end;
Source: "dist\sasview\sasview.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "dist\sasview\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "dist\sasview\plugin_models\*"; DestDir: "{%USERPROFILE}\.sasview\plugin_models"
Source: "dist\sasview\doc\*"; DestDir: "{%USERPROFILE}\.sasview\doc"

[Icons]
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Expand Down
3 changes: 2 additions & 1 deletion installers/sasview.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ datas = [
('../src/sas/qtgui/Utilities/WhatsNew/messages', 'sas/qtgui/Utilities/WhatsNew/messages'),
('../src/sas/system/log.ini', 'sas/system/'),
('../../sasmodels/sasmodels','sasmodels'),
('../docs/sphinx-docs','doc')
('../docs/sphinx-docs/build','doc/build'),
('../docs/sphinx-docs/source','doc/source')
]
#TODO: Hopefully we can get away from version specific packages
datas.append((os.path.join(PYTHON_PACKAGES, 'debugpy'), 'debugpy'))
Expand Down

0 comments on commit 1d217f8

Please sign in to comment.