1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup # if setuptools breaks
# Dynamically calculate the version
version_tuple = __import__('rest_hooks').VERSION
version = '.'.join([str(v) for v in version_tuple])
setup(
name = 'django-rest-hooks',
description = 'A powerful mechanism for sending real time API notifications via a new subscription model.',
version = version,
author = 'Bryan Helmig',
author_email = 'bryan@zapier.com',
url = 'http://github.com/zapier/django-rest-hooks',
install_requires=['Django>=1.5', 'requests'],
packages=['rest_hooks'],
package_data={
'rest_hooks': [
'migrations/*.py',
'south_migrations/*.py'
]
},
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
],
)
|