forked from sheppard/django-github-hook
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·47 lines (42 loc) · 1.39 KB
/
setup.py
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
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:copyright: Copyright 2013 by S. Andrew Sheppard
:contact: [email protected]
"""
from setuptools import setup
from os.path import join, dirname
LONG_DESCRIPION = """
Webhooks for GitHub post-receive hooks and other POST requests.
"""
def long_description():
"""Return long description from README.rst if it's present
because it doesn't get installed."""
try:
return open(join(dirname(__file__), 'README.rst')).read()
except IOError:
return LONG_DESCRIPTION
setup(
name='django-github-hook',
version='0.1.0',
description='Django-powered GitHub (& Bitbucket) web hooks',
long_description=long_description(),
author='S. Andrew Sheppard, Hugo Geoffroy',
author_email='[email protected]',
packages = ['github_hook'],
install_requires=['Django', 'djangorestframework'],
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Development Status :: 4 - Beta',
],
platforms=['any'],
test_suite='tests'
)