Skip to content

Commit 8a9348a

Browse files
committed
pip install -e . avoids having to set PYTHONPATH.
1 parent dbf0866 commit 8a9348a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ flake8:
44
flake8 debug_toolbar example tests
55

66
example:
7-
DJANGO_SETTINGS_MODULE=example.settings PYTHONPATH=. \
7+
DJANGO_SETTINGS_MODULE=example.settings \
88
django-admin.py runserver
99

1010
test:
11-
DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=. \
11+
DJANGO_SETTINGS_MODULE=tests.settings \
1212
django-admin.py test tests
1313

1414
test_selenium:
15-
DJANGO_SELENIUM_TESTS=true DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=. \
15+
DJANGO_SELENIUM_TESTS=true DJANGO_SETTINGS_MODULE=tests.settings \
1616
django-admin.py test tests
1717

1818
coverage:
1919
coverage erase
20-
DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=. \
20+
DJANGO_SETTINGS_MODULE=tests.settings \
2121
coverage run --branch --source=debug_toolbar `which django-admin.py` test tests
2222
coverage html
2323

0 commit comments

Comments
 (0)