So im trying to install this python module from github but it doesent have any setup.py so im wondering how else it can be installed im using python 3.6.4
Asked
Active
Viewed 1,294 times
0
-
It's a single file. Just put it wherever you want and import it. – Jim Stewart Jan 14 '18 at 14:31
-
do i need to add a path or something? – milo217 Jan 14 '18 at 14:32
-
3Possible duplicate of [How to install Python module without setup.py?](https://stackoverflow.com/questions/9714635/how-to-install-python-module-without-setup-py) – Thierry Lathuille Jan 14 '18 at 14:40
1 Answers
1
You don't have to install it. Just put discord_hooks.py in the same directory as your python application. Then, import it using:
from discord_hooks import Webhook

Tudor
- 320
- 1
- 9