Skip to content

Commit

Permalink
Merge pull request #11 from Brown-University-Library/lessen_pymysql
Browse files Browse the repository at this point in the history
removes PyMySQL package
  • Loading branch information
birkin authored Jul 11, 2024
2 parents b0c6498 + b5b32b4 commit 5791559
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
12 changes: 6 additions & 6 deletions config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# # -*- coding: utf-8 -*-

try:
import pymysql
pymysql.install_as_MySQLdb()
except ImportError:
pass
# try:
# import pymysql
# pymysql.install_as_MySQLdb()
# except ImportError:
# pass
Binary file not shown.
2 changes: 1 addition & 1 deletion config/requirements.txt → config/requirements_local.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PyMySQL==0.10.1
Django==1.11.29
git+https://github.com/birkin/shellvars-py.git
PyMySQL==0.10.1
requests==2.21.0
5 changes: 5 additions & 0 deletions config/requirements_servers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
./config/mysqlclient-2.0.3-cp38-cp38-linux_x86_64.whl
# PyMySQL==0.10.1
Django==1.11.29
git+https://github.com/birkin/shellvars-py.git
requests==2.21.0

0 comments on commit 5791559

Please sign in to comment.