Install dependencies from setup.py

Just create requirements.txt in your lib folder and add all dependencies like this: gunicorn docutils>=0.3 lxml==0.5a7 Then create a setup.py script and read requirements.txt: import os lib_folder = os.path.dirname(os.path.realpath(__file__)) requirement_path = f”{lib_folder}/requirements.txt” install_requires = [] # Here we’ll add: [“gunicorn”, “docutils>=0.3”, “lxml==0.5a7″] if os.path.isfile(requirement_path): with open(requirement_path) as f: install_requires = f.read().splitlines() setup(name=”mypackage”, install_requires=install_requires, […]) The … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)