Skip to content

Commit cbe5437

Browse files
authored
Merge pull request #176 from Naman23-coder/master
Determine requirements from the File
2 parents 60242d8 + a8ece8a commit cbe5437

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ def readme() -> str:
99
return README
1010

1111

12+
with open("requirements.txt", "r") as f:
13+
reqs = [line.strip() for line in f]
14+
15+
1216
setup(
1317
name="pywhatkit",
1418
packages=setuptools.find_packages(),
@@ -20,7 +24,7 @@ def readme() -> str:
2024
url="https://github.com/Ankit404butfound/PyWhatKit",
2125
download_url="https://github.com/Ankit404butfound/PyWhatKit/archive/refs/tags/5.2.zip",
2226
keywords=["sendwhatmsg", "info", "playonyt", "search", "watch_tutorial"],
23-
install_requires=["pyautogui", "wikipedia", "requests", "Pillow"],
27+
install_requires=reqs,
2428
package_data={"pywhatkit": ["py.typed"]},
2529
include_package_data=True,
2630
long_description=readme(),

0 commit comments

Comments
 (0)