forked from rsinger86/django-lifecycle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (28 loc) · 989 Bytes
/
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
#!/usr/bin/env python
from distutils.core import setup
from codecs import open
from os import path
def readme():
with open("README.txt", "r") as infile:
return infile.read()
classifiers=[
# Pick your license as you wish (should match "license" above)
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
setup(name='django-lifecycle',
version='0.3.0',
description='Declarative model lifecycle hooks, inspired by Rails callbacks.',
author='Robert Singer',
author_email='[email protected]',
packages=['django_lifecycle'],
url='https://github.com/rsinger86/django-lifecycle',
license='MIT',
keywords='django model lifecycle hooks callbacks',
long_description=readme(),
classifiers=classifiers
)