Skip to content

Commit 2b3c831

Browse files
committed
Add a requirements.txt for snyk to use
1 parent 1a1e6ec commit 2b3c831

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.circleci/config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ jobs:
3636

3737
snyk:
3838
docker:
39-
- image: circleci/python:2.7
39+
- image: circleci/python:3.8
4040
steps:
4141
- checkout
4242
- attach_workspace: { at: . }
43-
- run: python setup.py egg_info
44-
- run: cp analytics_python.egg-info/requires.txt requirements.txt
45-
- run: pip install --user -r requirements.txt
43+
- run: pip install dephell
44+
- run: dephell deps convert --from=setup.py --to=requirements.txt
4645
- run: curl -sL https://raw.githubusercontent.com/segmentio/snyk_helpers/master/initialization/snyk.sh | sh
4746

4847
test_27:

0 commit comments

Comments
 (0)