Skip to content

Commit 922201e

Browse files
Riverfountrenzon
authored andcommitted
Changed requirements management from pip and virtualevn to pipenv
close #817
1 parent 9a34aea commit 922201e

File tree

7 files changed

+482
-42
lines changed

7 files changed

+482
-42
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,5 @@ ENV/
108108
# no including dumps
109109
*.dump
110110

111-
.pytest_cache/
111+
pythonpro-website/.pytest_cache/
112+
mediafiles/

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ addons:
1010
postgresql: '9.5'
1111
install:
1212
- cp contrib/env-sample .env
13-
- pip install -q -r requirements-dev.txt codecov
13+
- pip install pipenv codecov
14+
- pipenv sync --dev
1415
before_script:
1516
- psql -c "CREATE DATABASE testdb;" -U postgres
1617
- python manage.py migrate --noinput

Pipfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
boto3 = "*"
8+
collectfast = "*"
9+
dj-database-url = "*"
10+
django = "*"
11+
django-debug-toolbar = "*"
12+
django-ordered-model = "*"
13+
"django-s3-folder-storage" = "*"
14+
django-storages = "*"
15+
gunicorn = "*"
16+
"psycopg2-binary" = "*"
17+
python-decouple = "*"
18+
raven = "*"
19+
Pillow = "*"
20+
21+
[dev-packages]
22+
faker = "*"
23+
"flake8" = "*"
24+
freezegun = "*"
25+
model-mommy = "*"
26+
pytest-cov = "*"
27+
pytest-django = "*"
28+
pytest-freezegun = "*"
29+
pytest-mock = "*"
30+
31+
[requires]
32+
python_version = "3.7"

Pipfile.lock

Lines changed: 446 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements-dev.txt

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

requirements.txt

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

runtime.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)