diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..f9bd145 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include requirements.txt diff --git a/requirements.txt b/requirements.txt index 11f419d..979165d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -requests==2.24.0 -google_auth_oauthlib==0.4.4 -beautifulsoup4==4.9.3 -google_api_python_client==2.1.0 -protobuf==3.15.8 +beautifulsoup4>=4.10.0 +google_api_python_client>=2.36.0 +google_auth_oauthlib>=0.4.4 +protobuf>=3.19.4 +requests>=2.26.0 diff --git a/setup.py b/setup.py index b11fc0d..13857e8 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ author = "Parth Bibekar", author_email = "bibekarparth24@gmail.com", url = "https://github.com/ParthBibekar/Welearn-bot", - version = "1.2.3", + version = "1.2.4", license = "MIT", package_dir = {"": "src"}, packages=setuptools.find_packages(where="src"), diff --git a/src/welearnbot/welearnbot.py b/src/welearnbot/welearnbot.py index 54133da..e952e53 100755 --- a/src/welearnbot/welearnbot.py +++ b/src/welearnbot/welearnbot.py @@ -72,7 +72,7 @@ def main(): whoami - shows the user's name and exits\n\ Abbreviations such as any one of 'f', 'a', 'u', 'c', 'w' are supported.") parser.add_argument("courses", nargs="*", help="IDs of the courses to download files from. The word ALL selects everything \nfrom the [courses] section in .welearnrc or welearn.ini") - parser.add_argument("-v", "--version", action="version", version="1.2.3") + parser.add_argument("-v", "--version", action="version", version="1.2.4") parser.add_argument("-d", "--dueassignments", action="store_true", help="show only due assignments with the 'assignments' action") parser.add_argument("-c", "--gcalendar", action="store_true", help="add due assignments to Google Calendar with the 'assignments' action") parser.add_argument("-i", "--ignoretypes", nargs="*", help="ignores the specified extensions when downloading, overrides .welearnrc")