From cca24af29b723988ab566316bd83169f3d2443af Mon Sep 17 00:00:00 2001 From: Horacio Duran Date: Mon, 6 Jan 2014 18:40:12 -0300 Subject: [PATCH 1/3] Added tests to setup.py since the client defined there is required for testing by third party development: --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 44459c7..d1ba952 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ url='http://github.com/Bouke/django-user-sessions', download_url='https://pypi.python.org/pypi/django-user-sessions', license='MIT', - packages=find_packages(exclude=('example', 'tests',)), + packages=find_packages(exclude=('example',)), install_requires=['Django>=1.4'], include_package_data=True, classifiers=[ From 6b5b6070ccf068c78b317b1e74ae51f6309a2812 Mon Sep 17 00:00:00 2001 From: Horacio Duran Date: Mon, 6 Jan 2014 19:08:14 -0300 Subject: [PATCH 2/3] Added tests to data files since they where not working as I previusly tried --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d1ba952..4a1fcc1 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,8 @@ url='http://github.com/Bouke/django-user-sessions', download_url='https://pypi.python.org/pypi/django-user-sessions', license='MIT', - packages=find_packages(exclude=('example',)), + packages=find_packages(exclude=('example','tests')), + data_files=[('user_sessions/tests',['tests/tests.py', 'tests/__init__.py']),], install_requires=['Django>=1.4'], include_package_data=True, classifiers=[ From d68cd6a0a46c57b676f7ad87b43a8cfe0c149191 Mon Sep 17 00:00:00 2001 From: Horacio Duran Date: Mon, 6 Jan 2014 19:10:01 -0300 Subject: [PATCH 3/3] Pep 8 and flakes grooming --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4a1fcc1..952207a 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,9 @@ url='http://github.com/Bouke/django-user-sessions', download_url='https://pypi.python.org/pypi/django-user-sessions', license='MIT', - packages=find_packages(exclude=('example','tests')), - data_files=[('user_sessions/tests',['tests/tests.py', 'tests/__init__.py']),], + packages=find_packages(exclude=('example', 'tests')), + data_files=[('user_sessions/tests', ['tests/tests.py', + 'tests/__init__.py']), ], install_requires=['Django>=1.4'], include_package_data=True, classifiers=[