diff --git a/README.rst b/README.rst index 6ecd53c..c49f1c7 100755 --- a/README.rst +++ b/README.rst @@ -36,6 +36,7 @@ Not sufficient to support schema mode. class MyHStoreSerializer(serializers.ModelSerializer): data = HStoreField() + class Meta: model = MyModel diff --git a/setup.py b/setup.py index 0b1dd05..f4236f6 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ name = 'django-rest-framework-hstore' -package = 'rest_framework_hstore' +package = 'djangorestframework-hstore' description = 'Django Rest Framework tools for django-hstore' url = 'https://github.com/djangonauts/django-rest-framework-hstore' author = 'Federico Capoano' @@ -19,6 +19,21 @@ 'djangorestframework', 'django_hstore' ] +classifiers=[ + 'Development Status :: 3 - Alpha', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + 'Framework :: Django', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', +], def get_packages(package): @@ -61,9 +76,11 @@ def get_package_data(package): url=url, license=license, description=description, + long_description=open('README.rst').read(), author=author, author_email=author_email, packages=get_packages(package), package_data=get_package_data(package), - install_requires=install_requires + install_requires=install_requires, + classifiers=classifiers )