Skip to content

Commit 443628c

Browse files
committed
pep517/518
1 parent 0a9bf77 commit 443628c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
[![Actions Status](https://github.com/scivision/asyncio-subprocess-ffmpeg/workflows/ci/badge.svg)](https://github.com/scivision/asyncio-subprocess-ffmpeg/actions)
44

55
Examples of Python asyncio.subprocess with FFmpeg and also traditional synchronous processes.
6+
We use `src/` Python layout to demonstrate general good packaging practice, so to use the scripts:
7+
8+
```sh
9+
pip install -e .
10+
```
611

712
## Coroutine vs Threads vs processes
813

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
2+
import site
23
import setuptools
34

5+
# PEP517 workaround
6+
site.ENABLE_USER_SITE = True
7+
48
setuptools.setup()

0 commit comments

Comments
 (0)