-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from mpsonntag/verWarn
Version warning, packaging updates LGTM
- Loading branch information
Showing
3 changed files
with
7 additions
and
5 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 @@ | ||
include LICENSE | ||
include README.md | ||
include LICENSE README.md | ||
include odmltools/info.json | ||
recursive-include test/resources * |
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,5 +1,8 @@ | ||
import warnings | ||
|
||
from sys import version_info | ||
|
||
if version_info.major < 3 or version_info.major == 3 and version_info.minor < 6: | ||
print("WARNING: The odMLtools package is not tested with your Python version. " | ||
"Please consider upgrading to the latest Python distribution.") | ||
msg = "The '%s' package is not tested with your Python version. " % __name__ | ||
msg += "Please consider upgrading to the latest Python distribution." | ||
warnings.warn(msg) |
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