Skip to content

Commit

Permalink
Merge branch 'master' into client-session-new-args
Browse files Browse the repository at this point in the history
  • Loading branch information
starflows authored May 30, 2022
2 parents d28a527 + 72d3d4b commit 644787b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ endif
@python -m pip install --upgrade pip

.install-cython: .update-pip $(call to-hash,requirements/cython.txt)
@pip install -r requirements/cython.txt -c requirements/constraints.txt
@python -m pip install -r requirements/cython.txt -c requirements/constraints.txt
@touch .install-cython

aiohttp/_find_header.c: $(call to-hash,aiohttp/hdrs.py ./tools/gen.py)
Expand All @@ -74,7 +74,7 @@ generate-llhttp: .llhttp-gen
cythonize: .install-cython $(PYXS:.pyx=.c)

.install-deps: .install-cython $(PYXS:.pyx=.c) $(call to-hash,$(CYS) $(REQS))
@pip install -r requirements/dev.txt -c requirements/constraints.txt
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt
@touch .install-deps

.PHONY: lint
Expand All @@ -89,7 +89,7 @@ mypy:
mypy

.develop: .install-deps generate-llhttp $(call to-hash,$(PYS) $(CYS) $(CS))
pip install -e . -c requirements/constraints.txt
python -m pip install -e . -c requirements/constraints.txt
@touch .develop

.PHONY: test
Expand Down Expand Up @@ -189,7 +189,7 @@ compile-deps: .update-pip $(REQS)

.PHONY: install
install: .update-pip
@pip install -r requirements/dev.txt -c requirements/constraints.txt
@python -m pip install -r requirements/dev.txt -c requirements/constraints.txt

.PHONY: install-dev
install-dev: .develop
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ To get something from the web:
html = await response.text()
print("Body:", html[:15], "...")
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
asyncio.run(main())
This prints:

Expand Down

0 comments on commit 644787b

Please sign in to comment.