-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
43 lines (39 loc) · 1.44 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
import os, sys
from setuptools import setup, find_packages
def read_file(filename):
path = os.path.abspath(os.path.dirname(__file__))
filepath = os.path.join(path, filename)
try:
return open(filepath).read()
except:
return ''
setup(
name = "dashboardmods",
version = __import__('dashboardmods').get_version().replace(' ', '-'),
url = 'http://opensource.washingtontimes.com/projects/dashboardmods/',
author = 'Corey Oordt',
author_email = 'coordt@washingtontimes.com',
description = 'A collection of dashboard modules for django-admin-tools',
long_description = read_file('README'),
packages = find_packages(),
include_package_data = True,
package_data={'dashboardmods': [
'templates/*.html',
'templates/*/*.html',
'templates/*/*/*.html',
]},
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 :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)