forked from squadrun/django-sql-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (46 loc) · 1.68 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
import os
from setuptools import setup
from explorer import __version__
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "django-sql-explorer",
version = __version__,
author = "Chris Clark",
author_email = "[email protected]",
description = ("A pluggable app that allows users (admins) to execute SQL,"
" view, and export the results. Inspired by Stack Exchange Data Explorer."),
license = "MIT",
keywords = "django sql explorer reports reporting csv database query",
url = "https://github.com/epantry/django-sql-explorer",
packages=['explorer'],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Utilities',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
install_requires=[
'Django>=1.6.7',
'sqlparse>=0.1.11',
'unicodecsv>=0.13.0',
'six>=1.10.0',
# custom deps
'ago==0.0.93',
'future==0.18.2' # py2/3 compatible libraries
],
include_package_data=True,
zip_safe = False,
)