Skip to content

Commit 6f6b26d

Browse files
authored
Introduced pipfile (appium#376)
* Added Pipfile Just created by pipenv install -r ci-requirements.txt * Introduced pipenv * Add Pipfile.lock to gitignore * Cover any minor versions for packages
1 parent 89f9979 commit 6f6b26d

6 files changed

Lines changed: 28 additions & 14 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ __pycache__
2222
# Virtual Environments
2323
venv*
2424
.tox
25+
26+
Pipfile.lock

Pipfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
pre-commit = "~=1.13"
8+
9+
[packages]
10+
selenium = "~=3.141"
11+
autopep8 = "~=1.4"
12+
httpretty = "~=0.9"
13+
pytest = "~=4.0"
14+
pytest-cov = "~=2.6"
15+
tox = "~=3.6"
16+
tox-travis = "~=0.11"
17+
18+
# TODO Update to the latest ver when py2 support dropped
19+
pylint = "~=1.9"
20+
astroid = "~=1.6"
21+
isort = "~=4.3"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz).
4747
- You can customise `CHANGELOG.rst` with commit messages following [.gitchangelog.rc](.gitchangelog.rc)
4848
- It generates readable changelog
4949
- Setup
50-
- `pip install -r development.txt`
50+
- `pip install --user pipenv`
51+
- `pipenv install --dev`
5152
- `pre-commit install`
5253

5354
## Run tests

ci-requirements.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

development.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ envlist =
99

1010
[testenv]
1111
deps =
12-
-r ci-requirements.txt
12+
pipenv
1313
commands =
14+
pipenv lock --clear
15+
pipenv install
1416
./ci.sh

0 commit comments

Comments
 (0)