-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial Python App Packaging #10716
Merged
Merged
Initial Python App Packaging #10716
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d8b4782
POC integrating Python utilities into our install/CLI
jmarrec b9a58c6
Merge remote-tracking branch 'upstream/develop' into python_packaging
Myoldmopar 98faae2
Rename python_standard_lib to python_lib; fix auxiliary argument issue
Myoldmopar 8f2b150
Merge remote-tracking branch 'upstream/develop' into python_packaging
Myoldmopar be5cff2
Trim to just eplaunch for right now
Myoldmopar f282bb2
Merge remote-tracking branch 'upstream/develop' into python_packaging
Myoldmopar d14fe97
Clang Format
Myoldmopar 5f12ff2
Minor cleanup in CLI
Myoldmopar 6130293
Try to create a link to EP Launch via CLI [ci skip]
Myoldmopar 6c58705
WIP [ci skip]
Myoldmopar 2fd548f
WIP [no ci]
Myoldmopar ae9ef93
Merge remote-tracking branch 'upstream/develop' into python_packaging
Myoldmopar 5bacf13
Clang format
Myoldmopar acb5190
Merge remote-tracking branch 'upstream/develop' into python_packaging
Myoldmopar dafa1b6
Another WIP, looks fine on Linux again for now via CLI [no ci]
Myoldmopar cbc8547
Fixup the TCL and Path stuff to get EPLaunch happy [no ci]
Myoldmopar f5fa4bb
Clang format
Myoldmopar 6fd1590
Taking the auxiliary interface away from mac for now
Myoldmopar d52ea16
Remove unneeded format call
Myoldmopar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Releases | ||
name: Linux Releases | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Releases | ||
name: Mac Releases | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Releases | ||
name: Windows Releases | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
param ( | ||
[string]$TargetPath, | ||
[string]$ShortcutPath, | ||
[string]$Arguments | ||
) | ||
|
||
$WScriptShell = New-Object -ComObject WScript.Shell | ||
$Shortcut = $WScriptShell.CreateShortcut($ShortcutPath) | ||
$Shortcut.TargetPath = $TargetPath | ||
$Shortcut.Arguments = $Arguments | ||
$Shortcut.Save() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An interesting choice to call a powershell script to create it in the the installed package.
I suppose this could be helpful even in the tar.gz installer.
I would have expected a modification or an addition around here for the Start Menu though, no?
EnergyPlus/cmake/qtifw/install_win_createstartmenu.qs
Line 50 in 48aa15b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, we may want an x-energyplus.xml and a eplaunch.desktop file for debian?
and adjusting or adding to
EnergyPlus/cmake/qtifw/install_registerfiletype.qs
Lines 52 to 54 in 48aa15b
x-energyplus.xml would probably be something like
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, launchers for Mac/Linux would be nice, but I think we'll leave that for another day. Let's let the interested parties run it on Windows and get things polished up before throwing out too many launchers. :)