Skip to content

Commit

Permalink
adds pymsql dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wendt committed Feb 25, 2021
1 parent 53682b3 commit b5d5b0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ This package works with Python 3. It has been tested with Scrapy up to version 1

Tasklist
------------------
- [] Catalog Exceptions so that an exception only creates one new Github Issue
- [] add Database Error id to GitHub Issues
- [] check again fairgarage

Build Realease
------------------
Expand Down
1 change: 0 additions & 1 deletion scrapy_toolbox/error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def create_github_issue(exctype, value, tb):
match = re.search("Occurences: [0-9]+", i.body, flags=re.IGNORECASE)
occurences = int(match.group(0).split()[1]) + 1
i.edit(body = re.sub("Occurences: [0-9]+", f"Occurences: {occurences}", i.body, flags=re.IGNORECASE))
print("#######EDITED######")
return None
if create_new_issue:
title=f"{settings.get('BOT_NAME')}:{sys.argv[1]} | {value}"
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

setuptools.setup(
name="scrapy-toolbox",
version="0.2.2",
version="0.2.3",
author="Jan Wendt",
description="Error Handling and Processing for your Scrapy Exceptions",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/janwendt/scrapy-toolbox",
download_url="https://github.com/janwendt/scrapy-toolbox/archive/0.2.2.tar.gz",
download_url="https://github.com/janwendt/scrapy-toolbox/archive/0.2.3.tar.gz",
packages=setuptools.find_packages(),
entry_points = {
"console_scripts": ["scrapy-toolbox=scrapy_toolbox.command_line:main"],
Expand All @@ -21,7 +21,8 @@
"sqlalchemy",
"sqlalchemy_utils",
"gitpython",
"pygithub"
"pygithub",
"pymysql"
],
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit b5d5b0b

Please sign in to comment.