Commit 2557150b by Florian Apolloner

Prepare for 0.10a1 and fixed an order dependent test.

parent ce666a0d
include LICENSE
include CHANGELOG.txt
include AUTHORS
include CHANGELOG.txt
include LICENSE
include README.rst
recursive-include docs *.txt
recursive-include docs *
recursive-include taggit/locale *
recursive-include tests *
from setuptools import setup, find_packages
from taggit import VERSION
f = open('README.rst')
readme = f.read()
......@@ -9,21 +7,21 @@ f.close()
setup(
name='django-taggit',
version=".".join(map(str, VERSION)),
version='0.10a1',
description='django-taggit is a reusable Django application for simple tagging.',
long_description=readme,
author='Alex Gaynor',
author_email='alex.gaynor@gmail.com',
url='http://github.com/alex/django-taggit/tree/master',
packages=find_packages(),
zip_safe=False,
package_data = {
'taggit': [
'locale/*/LC_MESSAGES/*',
],
},
license='BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
......@@ -32,4 +30,6 @@ setup(
'Framework :: Django',
],
test_suite='taggit.tests.runtests.runtests',
include_package_data=True,
zip_safe=False,
)
VERSION = (0, 10, 0, 'alpha', 0)
VERSION = (0, 10, 0, 'alpha', 1)
......@@ -229,8 +229,8 @@ class TaggableManagerTestCase(BaseTaggingTestCase):
guava = self.food_model.objects.create(name="guava")
self.assertEqual(
map(lambda o: o.pk, self.food_model.objects.exclude(tags__name__in=["red"])),
[pear.pk, guava.pk],
sorted(map(lambda o: o.pk, self.food_model.objects.exclude(tags__name__in=["red"]))),
sorted([pear.pk, guava.pk]),
)
def test_similarity_by_tag(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment