Skip to content

Commit bfdf0d8

Browse files
authored
Merge pull request #64 from EconForge/albop-patch-2
Updated installation instructions (1)
2 parents 0627a89 + 068cbe5 commit bfdf0d8

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.nbi
33
*.nbc
44
dist*
5+
setup.py

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,25 @@ The library contains:
1010

1111
## install
1212

13+
Install latest version:
14+
15+
- from conda: `conda install -c conda-forge interpolation`
16+
- from PyPI: `pip install interpolation`
17+
1318
Latest development version from git:
1419

15-
`pip install git+https://github.com/econforge/interpolation.py.git/`
20+
```
21+
pip install poetry # if not already installed
22+
pip install git+https://github.com/econforge/interpolation.py.git/
23+
```
1624

17-
Or latest stable version:
25+
The project uses a `pyproject.toml` file instead of `setup.py` and other legacy configuration files. For those used to development installation, this is feasible using `dephell`:
1826

19-
- from conda: `conda install -c conda-forge interpolation`
20-
- from PyPI: `pip install interpolation`
27+
```
28+
pip install dephell # if not already installed
29+
dephell --from=pyproject.toml --to=setup.py # only once
30+
pip install -e . # like old times
31+
```
2132

2233
## multilinear and cubic interpolation
2334

docs/index.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,25 @@ The library contains:
1111

1212
## install
1313

14+
Install latest version:
15+
16+
- from conda: `conda install -c conda-forge interpolation`
17+
- from PyPI: `pip install interpolation`
18+
1419
Latest development version from git:
1520

16-
`pip install git+https://github.com/econforge/interpolation.py.git/`
21+
```
22+
pip install poetry # if not already installed
23+
pip install git+https://github.com/econforge/interpolation.py.git/
24+
```
1725

18-
Or latest stable version:
26+
The project uses a `pyproject.toml` file instead of `setup.py` and other legacy configuration files. For those used to development installation, this is feasible using `dephell`:
1927

20-
- from conda: `conda install -c conda-forge interpolation`
21-
- from PyPI: `pip install interpolation`
28+
```
29+
pip install dephell # if not already installed
30+
dephell --from=pyproject.toml --to=setup.py # only once
31+
pip install -e . # like old times
32+
```
2233

2334
## multilinear and cubic interpolation
2435

0 commit comments

Comments
 (0)