* bump python version to 3.10

This commit is contained in:
Elior Fureraj 2024-06-16 20:38:47 +02:00
parent b347bca6d9
commit 811d1c3b6e
4 changed files with 6 additions and 7 deletions

View file

@ -129,7 +129,7 @@ Documentation to setup API keys can be found at - https://github.com/laramies/th
Install and dependencies:
-------------------------
* Python 3.9+
* Python 3.10+
* https://github.com/laramies/theHarvester/wiki/Installation

View file

@ -5,8 +5,8 @@ import sys
from theHarvester import __main__
if sys.version_info.major < 3 or sys.version_info.minor < 9:
print('\033[93m[!] Make sure you have Python 3.9+ installed, quitting.\n\n \033[0m')
if sys.version_info.major < 3 or sys.version_info.minor < 10:
print('\033[93m[!] Make sure you have Python 3.10+ installed, quitting.\n\n \033[0m')
sys.exit(1)
if __name__ == '__main__':

View file

@ -7,11 +7,10 @@ authors = [
{ name = "Jay Townsend", email = "jay@cybermon.uk" },
{ name = "Matthew Brown", email = "36310667+NotoriousRebel@users.noreply.github.com" },
]
requires-python = ">=3.9"
requires-python = ">=3.10"
urls.Homepage = "https://github.com/laramies/theHarvester"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",

View file

@ -4,8 +4,8 @@
from theHarvester.theHarvester import main
if sys.version_info.major < 3 or sys.version_info.minor < 9:
print('\033[93m[!] Make sure you have Python 3.9+ installed, quitting.\n\n \033[0m')
if sys.version_info.major < 3 or sys.version_info.minor < 10:
print('\033[93m[!] Make sure you have Python 3.10+ installed, quitting.\n\n \033[0m')
sys.exit(1)
if __name__ == '__main__':