-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.bat
33 lines (22 loc) · 1016 Bytes
/
requirements.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
:: ------------------- for spider -------------------
:: scrapy need cryptography. For window,
:: install OpenSSL for Window: https://slproweb.com/products/Win32OpenSSL.html (better use win32 version)
set INCLUDE=C:\OpenSSL-Win32\include;
set LIB=C:\OpenSSL-Win32\lib;
pip install cryptography
pip install sqlalchemy Pillow
:: psycopg2 for window
:: download : download from http://www.stickpeople.com/projects/python/win-psycopg/
:: easy_install psycopg2-windows.xxx.exe
pip install git+https://github.com/nwcell/psycopg2-windows.git@win32-py34#egg=psycopg2
:: twisted for win (scrapy)
@echo "================================================================================
@echo "For Twisted on window, visit https://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted"
@echo " none-official twisted package.
@echo "================================================================================
:: pip install Twisted[windows_platform]
pause
pip install scrapy
:: for reader.py
pip install flask