Skip to content

Commit a111349

Browse files
committed
Update files to use Poetry >=0.12.0
1 parent ea1d8fb commit a111349

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ profile.html
3131
/wheelhouse
3232
/docs/site/*
3333
pyproject.lock
34+
/poetry.lock
3435

3536
# editor
3637

37-
.vscode
38+
.vscode

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ install:
6363
virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
6464
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
6565
fi
66-
- pip install poetry -U
66+
- pip install pip -U
67+
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
68+
- source $HOME/.poetry/env
6769
- poetry install -v
6870
- poetry build -v
6971
- |

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ cleo = "^0.6.1"
3333
tox = "^3.0"
3434
black = { version = "^18.4-alpha.0", python = "^3.6" }
3535
pre-commit = "^1.10"
36+
37+
38+
[build-system]
39+
requires = ["poetry>=0.12"]
40+
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)