-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #332: Mark pyside2 as optional and update dependencies
3d43984 Use set -ex in all bash scripts (Andrew Chow) edcee23 fix generate-ui.sh for GNU sed (Andrew Chow) 7e65e2f Use qt extra when generating releases (Andrew Chow) 619b412 Update setup.py (Andrew Chow) f8b40cd Add qt extra to make pyside2 optional (Andrew Chow) 7bfcff7 Update dependencies (Andrew Chow) Pull request description: Marks pyside2 as optional and part of an extra `qt`. In doing so, the dependencies in the poetry.lock file are also updated. `setup.py` is regenerated to pick up this change. Closes #331 Top commit has no ACKs. Tree-SHA512: dee9aaf793c29125d2f0537f64d8a69e21e668bec5bdcac42dfb8148660f178c10d9d940bfe10454f2315d1df5fb2a07301890635b0fa069977964326eb78b44
- Loading branch information
Showing
8 changed files
with
274 additions
and
74 deletions.
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
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
#! /bin/bash | ||
|
||
set -ex | ||
|
||
pushd hwilib/ui | ||
for file in *.ui | ||
do | ||
gen_file=ui_`echo $file| cut -d. -f1`.py | ||
pyside2-uic $file -o $gen_file | ||
sed -i '' -e 's/raise()/raise_()/g' $gen_file | ||
sed -i'' -e 's/raise()/raise_()/g' $gen_file | ||
done | ||
popd |
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.