Skip to content

Commit a3c5dd5

Browse files
committed
Extensions rebuild with poetry
1 parent 46539ec commit a3c5dd5

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,28 @@ git submodule init
4444
git submodule update
4545
```
4646

47-
To install dxfeed from source you need Poetry, Cython and taskipy in addition to the normal dependencies above.
48-
Poetry provides a custom installer. This is the recommended way of installing poetry according to
49-
[documentation](https://python-poetry.org/docs/)
47+
To install dxfeed from source you need Poetry. It provides a custom installer.
48+
This is the recommended way of installing poetry according to [documentation](https://python-poetry.org/docs/)
5049

51-
For osx / linux / bashonwindows:
50+
For osx / linux / windows (with bash):
5251

5352
```bash
5453
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
5554
```
5655

57-
Cython and taskipy can be installed from pypi:
58-
59-
```python
60-
pip3 install cython taskipy
61-
```
62-
6356
In the project root directory (same one where you found this file after
6457
cloning the git repo), execute:
6558

6659
```bash
67-
task build
68-
pip install dist/dxfeed-x.x.x.tar.gz
60+
poetry install
6961
```
7062

71-
or for installing in [development mode](https://pip.pypa.io/en/latest/reference/pip_install.html#editable-installs):
63+
By default package is installed in
64+
[development mode](https://pip.pypa.io/en/latest/reference/pip_install.html#editable-installs). To rebuild
65+
C extensions, after editing .pyx files:
7266

7367
```bash
74-
task build_inplace
75-
pip install -e .
68+
poetry run task build_inplace # build c extensions
7669
```
7770

7871
## Basic usage

0 commit comments

Comments
 (0)