Skip to content

Commit

Permalink
Use pipenv for requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Aug 2, 2018
1 parent 4ba8e75 commit 43fb4f6
Show file tree
Hide file tree
Showing 9 changed files with 151 additions and 122 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
- run:
name: Install requirements and run tests
command: |
virtualenv venv
source venv/bin/activate
pip3 install -r requirements/requirements-dev.txt
pipenv install --dev
export PYTHONPATH=$PYTHONPATH:. # so alembic can get to Base metadata
pytest -v
pipenv run pytest -v
21 changes: 0 additions & 21 deletions Makefile

This file was deleted.

7 changes: 7 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[packages]
SQLALchemy = "*"
alembic = "*"

[dev-packages]
pytest = "*"
pip-tools = "*"
140 changes: 140 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Qt-based client for working with SecureDrop submissions on the SecureDrop Qubes
Set up a Python 3 virtual environment and set up dependencies:

```
mkvirtualenv --python=python3 securedropclient
pip install -r requirements/requirements-dev.txt
pipenv install
pipenv shell
```

## Run tests
Expand Down
2 changes: 0 additions & 2 deletions requirements/requirements-dev.in

This file was deleted.

63 changes: 0 additions & 63 deletions requirements/requirements-dev.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements/requirements.in

This file was deleted.

28 changes: 0 additions & 28 deletions requirements/requirements.txt

This file was deleted.

0 comments on commit 43fb4f6

Please sign in to comment.