forked from craigds/django-typed-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·31 lines (29 loc) · 1.04 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
#!/usr/bin/env python
import os
import sys
from distutils.core import setup
# Dynamically calculate the version based on typedmodels.VERSION
# .. but first set a settings module so this import doesnt throw a hissy
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tests.settings')
sys.path.insert(0, os.path.dirname(__file__))
version_tuple = __import__('typedmodels').VERSION
version = ".".join([str(v) for v in version_tuple])
setup(
name='django-typed-models',
description='''Sane single table model inheritance for Django''',
version=version,
author='Craig de Stigter',
author_email='[email protected]',
url='http://github.com/craigds/django-typed-models',
packages=['typedmodels'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
],
)