Permalink
Browse files

added requirements.txt.

  • Loading branch information...
1 parent 17fb3d8 commit 98a04cf637417d66078de67522816114f3b9cbb7 @andrewsmedina andrewsmedina committed Apr 14, 2013
Showing with 6 additions and 16 deletions.
  1. +2 −16 Makefile
  2. +4 −0 requirements.txt
View
@@ -2,25 +2,11 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-dependencies: coverage django bs4 nosedjango
+dependencies:
+ @pip install -r test-requirements.txt
clean:
@find . -name "*.pyc" -delete
-coverage:
- @python -c 'import coverage' 2>/dev/null || pip install coverage
-
-django:
- @python -c 'import django' 2>/dev/null || pip install django
-
-bs4: html5lib
- @python -c 'import bs4' 2>/dev/null || pip install beautifulsoup4
-
-html5lib:
- @python -c 'import html5lib' 2>/dev/null || pip install html5lib
-
-nosedjango:
- @python -c 'import nosedjango' 2>/dev/null || pip install nosedjango
-
test: dependencies clean
@nosetests -s --with-xunit --xunit-file=nose.xml --with-coverage --with-django --django-settings=htmlmin.tests.mock_settings --django-sqlite=use_sqlite --cover-erase --cover-package=htmlmin --where=htmlmin/tests
View
@@ -0,0 +1,4 @@
+argparse
+django
+beautifulsoup4
+html5lib

0 comments on commit 98a04cf

Please sign in to comment.