-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·52 lines (44 loc) · 1.74 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·52 lines (44 loc) · 1.74 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import django_mesh
package_name = 'django_mesh'
test_package_name = '%s_test_project' % package_name
def runtests():
import os
import sys
import django
from django.core.management import call_command
os.environ['DJANGO_SETTINGS_MODULE'] = '%s.settings' % test_package_name
django.setup()
call_command('test', 'django_admin_smoke_tests')
call_command('test')
sys.exit()
setup(name='django-mesh',
version=django_mesh.__version__,
description="A Django blog.",
author='Seán Hayes',
author_email='sean@seanhayes.name',
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.6",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
],
keywords='django blog',
url='http://seanhayes.name/',
download_url='https://github.com/SeanHayes/django-mesh',
license='GPL',
packages=find_packages(exclude=[test_package_name]),
include_package_data=True,
install_requires=['Django>=1.7', 'django-model-utils', 'markdown', 'textile', 'oembed', 'pyembed-markdown', 'pyembed', 'requests','six'],
tests_require=['django-admin-smoke-tests>=0.1.9', 'mock', 'django-settings-context-processor',],
test_suite='setup.runtests',
)