Merge pull request #1612 from nanoric/database_dependents

[Mod] move psycopg2, pymysql into install requirements
This commit is contained in:
vn.py 2019-04-19 06:37:53 +08:00 committed by GitHub
commit 868dab01f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -20,7 +20,6 @@ before_script:
- mysql -u root --password=${VNPY_TEST_MYSQL_PASSWORD} -e 'CREATE DATABASE vnpy;'
script:
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
- cd tests; source travis_env.sh;
- python test_all.py
@ -90,6 +89,5 @@ matrix:
- bash ./install_osx.sh
before_script: []
script:
- pip3 install psycopg2 mongoengine pymysql # we should support all database in test environment
- cd tests; source travis_env.sh;
- VNPY_TEST_ONLY_SQLITE=1 python3 test_all.py

View File

@ -46,7 +46,6 @@ for:
only:
- configuration: pip
build_script:
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
- call install.bat
- matrix:
@ -54,7 +53,6 @@ for:
- configuration: sdist
build_script:
- python setup.py sdist
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
- pip install --pre --extra-index-url https://rquser:ricequant99@py.ricequant.com/simple/ rqdatac
- pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
- pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl

View File

@ -5,6 +5,9 @@ qdarkstyle
requests
websocket-client
peewee
pymysql
psycopg2
mongoengine
numpy
pandas
matplotlib
@ -14,4 +17,3 @@ tigeropen
rqdatac
ta-lib
ibapi
mongoengine

View File

@ -113,6 +113,9 @@ install_requires = [
"requests",
"websocket-client",
"peewee",
"pymysql",
"psycopg2",
"mongoengine",
"numpy",
"pandas",
"matplotlib",