Skip to content

Commit dc31a28

Browse files
committed
readme
1 parent 3428dd4 commit dc31a28

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

-8
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,3 @@ This package is essentially a wrapper for `venv` and `pip`.
322322
When entering the context, a temporary folder is created using the [tempfile](https://docs.python.org/3/library/tempfile.html) library. Then it is added to [sys.path](https://docs.python.org/3/library/sys.html#sys.path), and after exiting the context, it is removed from there. To install the package in this particular temporary folder, the `--target` argument is passed to pip, indicating the path to it. Interaction with `pip` and `venv` occurs through [subprocesses](https://docs.python.org/3/library/subprocess.html).
323323

324324
The `import_here` method works by temporarily substituting [sys.path](https://docs.python.org/3/library/sys.html#sys.path) and [sys.modules](https://docs.python.org/3/library/sys.html#sys.modules). This is necessary so that the search for packages takes place only in the necessary directories.
325-
326-
327-
## Examples
328-
329-
```python
330-
with instld('git+https://github.com/pomponchik/cantok.git'):
331-
import cantok
332-
```

0 commit comments

Comments
 (0)