-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (25 loc) · 787 Bytes
/
setup.py
File metadata and controls
29 lines (25 loc) · 787 Bytes
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
import os
from setuptools import setup, find_packages
import singleactiveobject
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-singleactiveobject',
version=singleactiveobject.__version__,
description='Model mixin that ensures there is only one active model instance in your database.',
long_description=read('README.md'),
license=read('LICENSE'),
author='byteweaver',
author_email='contact@byteweaver.net',
url='https://github.com/byteweaver/django-singleactiveobject',
packages=find_packages(),
install_requires=[
'django',
],
tests_require=[
'django-nose',
'coverage',
'django-coverage',
],
test_suite='singleactiveobject.tests',
)