Skip to content

Commit b7a6e17

Browse files
committed
⬆️ Moved to Pipenv.
1 parent 4fa32ba commit b7a6e17

File tree

4 files changed

+224
-19
lines changed

4 files changed

+224
-19
lines changed

Pipfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[source]]
2+
url = "https://pypi.python.org/simple"
3+
verify_ssl = true
4+
5+
[dev-packages]
6+
bumpversion = "*"
7+
flake8 = "*"
8+
flake8-isort = "*"
9+
tox = "*"
10+
coverage = "*"
11+
Sphinx = "*"
12+
sphinxcontrib-napoleon = "*"
13+
bpython = "*"
14+
twine = "*"
15+
16+
[packages]
17+
requests = "*"

Pipfile.lock

+190
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_dev.txt

-12
This file was deleted.

tox.ini

+17-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
[tox]
2-
envlist = py33, py34, py35, flake8
3-
4-
[testenv:flake8]
5-
basepython=python
6-
deps=flake8
7-
commands=flake8 wordpress
2+
envlist = py33, py34, py35, flake8-py3
83

94
[testenv]
5+
passenv = HOME
6+
deps = pipenv
107
setenv =
118
PYTHONPATH = {toxinidir}:{toxinidir}/wordpress
12-
commands = python setup.py test
9+
commands =
10+
pipenv lock
11+
pipenv install --dev
12+
pipenv run python setup.py test
13+
14+
[textenv:flake8-py3]
15+
passenv = HOME
16+
basepython = python3.4
17+
commands =
18+
{[testenv]deps}
19+
pipenv lock
20+
pipenv install --dev
21+
pipenv run flake8 --version
22+
pipenv run flake8 setup.py wordpress

0 commit comments

Comments
 (0)