Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 92cd532

Browse filesBrowse files
tomkukralmethane
authored andcommitted
use metapackage for libmysqlclient-dev (PyMySQL#245)
libmysqliclient-dev package isn't available in Debian (Stretch) anymore. It's better to use metapackage for installation because it is available in Ubuntu and Debian.
1 parent fccd022 commit 92cd532
Copy full SHA for 92cd532

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ I hope this fork is merged back to MySQLdb1 like distribute was merged back to s
1313

1414
You may need to install the Python and MySQL development headers and libraries like so:
1515

16-
* `sudo apt-get install python-dev libmysqlclient-dev` # Debian / Ubuntu
16+
* `sudo apt-get install python-dev default-libmysqlclient-dev` # Debian / Ubuntu
1717
* `sudo yum install python-devel mysql-devel` # Red Hat / CentOS
1818
* `brew install mysql-connector-c` # macOS (Homebrew) (Currently, it has bug. See below)
1919

20-
On Windows, there are binary wheels you can install without MySQLConnector/C or MSVC.
20+
On Windows, there are binary wheels you can install without MySQLConnector/C or MSVC.
2121

2222
#### Note on Python 3 : if you are using python3 then you need to install python3-dev using the following command :
2323

@@ -31,21 +31,21 @@ See also: https://bugs.mysql.com/bug.php?id=86971
3131

3232
Versions of MySQL Connector/C may have incorrect default configuration options that cause compilation errors when `mysqlclient-python` is installed. (As of November 2017, this is known to be true for homebrew's `mysql-connector-c` and [official package](https://dev.mysql.com/downloads/connector/c/))
3333

34-
Modification of `mysql_config` resolves these issues as follows.
34+
Modification of `mysql_config` resolves these issues as follows.
3535

3636
Change
3737

3838
```
3939
# on macOS, on or about line 112:
40-
# Create options
40+
# Create options
4141
libs="-L$pkglibdir"
4242
libs="$libs -l "
4343
```
4444

45-
to
45+
to
4646

4747
```
48-
# Create options
48+
# Create options
4949
libs="-L$pkglibdir"
5050
libs="$libs -lmysqlclient -lssl -lcrypto"
5151
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.