forked from jcassee/django-geckoboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (52 loc) · 1.78 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
55
56
57
58
59
60
61
62
63
64
65
66
67
from distutils.core import setup, Command
import os
import django_geckoboard
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_geckoboard.tests.settings'
cmdclass = {}
class TestCommand(Command):
description = "run package tests"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
from django_geckoboard.tests.utils import run_tests
run_tests()
cmdclass['test'] = TestCommand
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def build_long_description():
return "\n\n".join([
django_geckoboard.__doc__, #@UndefinedVariable
read('CHANGELOG.rst'),
])
setup(
name = 'django-geckoboard',
version = django_geckoboard.__version__,
license = django_geckoboard.__license__,
description = 'Geckoboard custom widgets for Django projects',
long_description = build_long_description(),
author = django_geckoboard.__author__,
author_email = django_geckoboard.__email__,
packages = [
'django_geckoboard',
'django_geckoboard.tests',
],
keywords = ['django', 'geckoboard'],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
platforms = ['any'],
url = 'http://github.com/jcassee/django-geckoboard',
download_url = 'http://github.com/jcassee/django-geckoboard/archives/master',
cmdclass = cmdclass,
)