diff options
author | Ricardo Kirkner <ricardo.kirkner@canonical.com> | 2015-09-10 17:25:51 -0300 |
---|---|---|
committer | Ricardo Kirkner <ricardo.kirkner@canonical.com> | 2015-09-10 17:25:51 -0300 |
commit | d091f44898d0a6a6b6d2ead156cb47ce6849b515 (patch) | |
tree | 22fbfa8aa14b59174b0ccaddeda398164446c07a | |
parent | 201c1f3a81ecd8fe3ebb3ba99d3b419fd9122f5f (diff) | |
parent | 63b625b3bf743f475cf446e657ae9a4c67cfa448 (diff) |
replace distutils by setuptools
use setuptools so wheels can be built
-rw-r--r-- | setup.py | 31 |
1 files changed, 16 insertions, 15 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env python # django-openid-auth - OpenID integration for django.contrib.auth # -# Copyright (C) 2009-2013 Canonical Ltd. +# Copyright (C) 2009-2015 Canonical Ltd. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -39,7 +39,7 @@ library also includes the following features: info. """ -from distutils.core import setup +from setuptools import find_packages, setup description, long_description = __doc__.split('\n\n', 1) @@ -48,6 +48,18 @@ VERSION = '0.6' setup( name='django-openid-auth', version=VERSION, + + packages=find_packages(), + install_requires=[ + 'django>=1.4', + 'python-openid>=2.2.0', + 'south', + ], + package_data={ + 'django_openid_auth': ['templates/openid/*.html'], + }, + + # metadata for upload to PyPI author='Canonical Ltd', author_email='noreply@canonical.com', description=description, @@ -58,7 +70,7 @@ setup( download_url=('http://launchpad.net/django-openid-auth/trunk/%s/+download' '/django-openid-auth-%s.tar.gz' % (VERSION, VERSION)), classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', @@ -67,15 +79,4 @@ setup( 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ], - packages=[ - 'django_openid_auth', - 'django_openid_auth.management', - 'django_openid_auth.management.commands', - 'django_openid_auth.tests', - ], - package_data={ - 'django_openid_auth': ['templates/openid/*.html'], - }, - provides=['django_openid_auth'], - requires=['django (>=1.4)', 'openid (>=2.2.0)', 'south'], - ) +) |