Skip to content

Commit d44ea51

Browse files
committed
fix: update index docs and dependencies
1 parent a51ec8b commit d44ea51

File tree

5 files changed

+9
-17
lines changed

5 files changed

+9
-17
lines changed

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ For PostgreSQL:
3939

4040
.. code-block:: console
4141
42-
pip install peewee-async aiopg
42+
pip install peewee-async[postgresql]
4343
4444
For MySQL:
4545

4646
.. code-block:: console
4747
48-
pip install peewee-async aiomysql
48+
pip install peewee-async[mysql]
4949
5050
Install from sources
5151
++++++++++++++++++++
@@ -54,7 +54,7 @@ Install from sources
5454
5555
git clone https://github.com/05bit/peewee-async.git
5656
cd peewee-async
57-
python setup.py install
57+
pip install .
5858
5959
Running tests
6060
+++++++++++++

docs/peewee_async/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ The complete working example is provided below. And here are some general notes:
8888

8989
**Also note:** if you spawn an extra task during a transaction, it will run outside of that transaction.
9090

91-
.. literalinclude:: ../../examples/tornado_sample.py
91+
.. literalinclude:: ../samples/tornado_sample.py
9292
:start-after: # Start example
File renamed without changes.

examples/requirements.txt

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
fastapi==0.111.0
2-
uvicorn==0.29.0
3-
tornado==6.4
4-
aiohttp==3.9.5
5-
gunicorn==22.0.0
6-
7-
aiopg~=1.4.0
8-
aiomysql~=0.2.0
9-
10-
peewee~=3.17.3
11-
# peewee-async~=0.10.0
1+
aiohttp
2+
gunicorn
3+
peewee-async[postgresql]

load-testing/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
fastapi==0.110.0
2-
uvicorn==0.29.0
1+
fastapi
2+
uvicorn

0 commit comments

Comments
 (0)