Skip to content

Commit

Permalink
Merge branch 'release/1.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyue92tree committed Oct 27, 2020
2 parents d8cd9f9 + 0f1055e commit bd40217
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 23 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ or
- 完善scrapy_plugs
- 完善selenium_api
- 兼容python3


2 changes: 1 addition & 1 deletion crwy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '1.6.0'
version = '1.7.0'
4 changes: 2 additions & 2 deletions crwy/utils/sql/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"You should install pymysql first! try: pip install "
"pymysql")
try:
from DBUtils.PersistentDB import PersistentDB
from dbutils.persistent_db import PersistentDB
except ImportError:
raise CrwyImportException(
"You should install DBUtils first! try: pip install "
"dbutils")
"dbutils>=2.0")


@cls2singleton
Expand Down
4 changes: 2 additions & 2 deletions crwy/utils/sql/pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
raise CrwyImportException("You should install PyGreSQL first! try: pip "
"install PyGreSQL")
try:
from DBUtils.PersistentDB import PersistentDB
from dbutils.persistent_db import PersistentDB
except ImportError:
raise CrwyImportException(
"You should install DBUtils first! try: pip install "
"dbutils")
"dbutils>=2.0")


@cls2singleton
Expand Down
23 changes: 8 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
Scrapy
scrapy-redis
scrapy-splash
scrapy-sentry
DBUtils
python-dateutil
SQLAlchemy
pygresql
PyMySQL
beautifulsoup4
configparser
requests
gevent
imapclient
redis
beautifulsoup4>=4.5.1
configparser>=3.5.0
requests>=2.20.0
gevent>=1.2.1
retrying>=1.3.3
imapclient>=2.0.0
DBUtils>=2.0
redis
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
version=version,
url='https://github.com/wuyue92tree/crwy',
description='A Simple Web Crawling and Web Scraping framework',
long_description=open('README.rst').read(),
long_description=open('README.rst', encoding='utf-8').read(),
author='wuyue',
author_email='[email protected]',
maintainer='wuyue',
Expand Down

0 comments on commit bd40217

Please sign in to comment.