-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (45 loc) · 1.55 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
48
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import djangotoolbox, django_mongodb_engine
package_name = 'django-nosql'
def runtests():
import os
import sys
import django
from django.core.management import call_command
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_nonrel_test_project.settings'
if django.VERSION[0] == 1 and django.VERSION[1] >= 5:
setup()
call_command('test', 'djangotoolbox')
sys.exit()
setup(name='django-nonrel',
description="Django Nonrel Package",
author='unknown',
author_email='[email protected]',
classifiers=[
"Development Status :: 3 - Alpha",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
],
keywords='django nosql',
download_url='https://github.com/Hn23/django-nosql',
license='GPL',
packages=[
'djangotoolbox',
'django_nonrel_test_project',
'django_mongodb_engine',
],
include_package_data=True,
install_requires=[],
# tests_require=['django-admin-smoke-tests>=0.1.8',],
test_suite='setup.runtests',
)