Skip to content

Commit d222409

Browse files
author
Kenneth Reitz
committed
simplify installation
1 parent ae83208 commit d222409

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828

2929

30-
- name: Install pipenv
31-
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
32-
- run: pipenv install --dev --deploy
30+
- name: Install dependencies
31+
run: pip install -e .[test]
3332

3433
- name: Test with pytest
3534
run: pipenv run pytest

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
REQUIRED = ["requests", "pygments"]
2525

2626
# What packages are optional?
27-
EXTRAS = {
28-
"color": ["pygments"],
29-
}
27+
EXTRAS = {"color": ["pygments"], "test": ["pytest"]}
3028

3129
here = os.path.abspath(os.path.dirname(__file__))
3230

0 commit comments

Comments
 (0)