-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
import qatools
to import qaboard
, while staying backward c…
…ompatible
- Loading branch information
1 parent
644c524
commit 70cab11
Showing
34 changed files
with
74 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
recursive-include qatools/sample_project/qa * | ||
include qatools/sample_project/qaboard.yaml | ||
recursive-include qaboard/sample_project/qa * | ||
include qaboard/sample_project/qaboard.yaml | ||
|
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,9 @@ | ||
# need to be update setup.py as well | ||
__version__ = '0.8.2' | ||
from .check_for_updates import check_for_updates | ||
check_for_updates() | ||
|
||
from .config import on_windows, on_linux, on_lsf, on_vdi, is_ci | ||
from .config import config, merge | ||
from .conventions import slugify | ||
from .qa import qa |
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,2 @@ | ||
from .qa import main | ||
main() |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,9 +1,20 @@ | ||
# need to be update setup.py as well | ||
__version__ = '0.8.2' | ||
from .check_for_updates import check_for_updates | ||
check_for_updates() | ||
""" | ||
For backward-compatibility: once qaboard was imported as "import qatools" | ||
Inspired by https://stackoverflow.com/a/24324577/5993501 | ||
""" | ||
import sys | ||
import qaboard | ||
|
||
from .config import on_windows, on_linux, on_lsf, on_vdi, is_ci | ||
from .config import config, merge | ||
from .conventions import slugify | ||
from .qatools import cli | ||
modules = [ | ||
'qaboard', | ||
'qaboard.check_for_updates', | ||
'qaboard.config', | ||
'qaboard.utils', | ||
'qaboard.conventions', | ||
'qaboard.iterators', | ||
'qaboard.qa', | ||
'qaboard.lsf', | ||
'qaboard.api' | ||
] | ||
for m in modules: | ||
sys.modules[m.replace('qaboard', 'qatools')] = sys.modules[m] |
This file was deleted.
Oops, something went wrong.
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