Skip to content

Commit 4a0ab44

Browse files
committed
Fixed errors in Windows and edited some strings; Updated to version 1.4.1
1 parent de83acf commit 4a0ab44

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python Requirements
22
## Made with python and for python
3-
### 1.4.0
3+
### 1.4.1
44

55
---
66

python/ReqInfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ class ReqInfo:
33
# * dev
44
# * beta
55
# * public
6-
VERSION: tuple = (1, 4, 0, "public")
6+
VERSION: tuple = (1, 4, 1, "public")
77

88
DEV: bool = False

python/checkVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def getPythonVersion():
77
"""
88

99
if (sys.version_info < (3, 6)):
10-
print("[ ERR ] This code requires at least Python 3.6")
10+
print("[ ERR ] Python Requirements requires at least Python 3.6")
1111

1212
sys.exit(1)
1313

python/execute.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@
33
from ReqInfo import ReqInfo
44

55
import sys
6-
import readline
6+
7+
try:
8+
import readline
9+
10+
except:
11+
print("[ ERR ] Not a supported OS for `readline` package")
12+
13+
try:
14+
import pyreadline3
15+
16+
except:
17+
print("[ ERR ] Could not import `pyreadline3`")
718

819
def outMsg(file: File, out: list):
920
if (out[0] == 0):
@@ -28,7 +39,7 @@ def main():
2839
print("* HELP")
2940
print("[ --help | -h ] Display this help")
3041
print("[ --version | -v ] Display version information")
31-
print("[ --path ] Set the path to provide the requirements")
42+
print("[ --path | -p ] Set the path to provide the requirements")
3243
print("[ --shell '$1 $2 ...' ] Go to an interactive shell without needing to create files ( NOTE: Call HELP command in the shell for more info )")
3344

3445
sys.exit(0)

0 commit comments

Comments
 (0)