Skip to content

Commit 1b23d81

Browse files
committed
😎 Modernizes packaging with Pipfile
* removes requirements.txt * adds pipfile * updates and simplifies setup.py * removes buildout oldy
1 parent ac589a6 commit 1b23d81

File tree

6 files changed

+515
-71
lines changed

6 files changed

+515
-71
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ before_install: |
3939
fi
4040
# command to install dependencies
4141
install:
42-
- "pip install --upgrade pip" # upgrade to latest pip (needed on py3.4)
43-
- "pip install -r requirements-test.txt"
42+
- "pip install --upgrade pip pipenv" # upgrade to latest pip (needed on py3.4)
43+
- "pipenv install -e .[test]"
4444
# command to run tests
45-
script: "py.test --cov=git_repo --cov-report term-missing tests"
45+
script: "pipenv run py.test --cov=git_repo --cov-report term-missing tests"

Pipfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
8+
[packages]
9+
git-repo = {editable = true,extras = ["test"],path = "."}
10+
11+
[requires]
12+
python_version = "3.7"

0 commit comments

Comments
 (0)