Prep for django and py3 support
This commit is contained in:
parent
8d21e5f3c1
commit
a1d142d3a4
3 changed files with 27 additions and 37 deletions
2
setup.py
2
setup.py
|
|
@ -51,7 +51,7 @@ CLASSIFIERS = [
|
|||
extra_opts = {}
|
||||
if sys.version_info[0] == 3:
|
||||
extra_opts['use_2to3'] = True
|
||||
extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'jinja2==2.6']
|
||||
extra_opts['tests_require'] = ['nose', 'coverage', 'blinker', 'jinja2==2.6', 'django>=1.5.1']
|
||||
extra_opts['packages'] = find_packages(exclude=('tests',))
|
||||
if "test" in sys.argv or "nosetests" in sys.argv:
|
||||
extra_opts['packages'].append("tests")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue