1
0
Fork 0

Fix test in tox

This commit is contained in:
Adam Dobrawy 2017-07-09 21:47:05 +02:00
parent 62b8f75bb2
commit 48393250f7
3 changed files with 12 additions and 11 deletions

View file

@ -1,16 +1,7 @@
import sys
from setuptools import find_packages, setup
import os
from django_mailbox import __version__ as version_string
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_mailbox.tests.settings'
from django.core import management
if len(sys.argv) > 1 and sys.argv[1] == 'test':
management.execute_from_command_line()
sys.exit()
tests_require = [
'django',
@ -61,7 +52,7 @@ setup(
'Topic :: Communications :: Email :: Email Clients (MUA)',
],
packages=find_packages(),
include_package_data = True,
include_package_data=True,
install_requires=[
'six>=1.6.1'
]