Skip to content

Commit 717a839

Browse files
authored
chore: add instructions for installing with PyPI to README (#99)
1 parent 24e3499 commit 717a839

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ gcloud auth application-default login
2626

2727
### How to install this connector
2828

29+
#### Install latest release from PyPI
30+
Upgrade to the latest version of `pip`, then run the following command, replacing `driver` with one of the driver names listed above.
31+
```
32+
pip install cloud-sql-python-connector[driver]
33+
```
34+
For example, to use the Python connector with `pymysql`, run `pip install cloud-sql-python-connector[pymysql]`
35+
36+
#### Install dev version
2937
Clone this repo, `cd` into the `cloud-sql-python-connector` directory then run the following command to install the package:
3038
```
3139
pip install .

0 commit comments

Comments
 (0)