-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
49 lines (45 loc) · 1.34 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
#!/usr/bin/env python
import os
import urllib
from setuptools import setup, find_packages, Command
VERSION = (0, 1, 11)
__version__ = '.'.join(map(str, VERSION))
def get_reqs(reqs=["Django>=1.4.0"]):
# optparse is included with Python <= 2.7, but has been deprecated in favor
# of argparse. We try to import argparse and if we can't, then we'll add
# it to the requirements
try:
import argparse
except ImportError:
reqs.append("argparse>=1.1")
return reqs
setup(
name = "django-admin-steroids",
version = __version__,
packages = find_packages(),
package_data = {
'admin_steroids': [
'templates/*.*',
'templates/*/*.*',
'templates/*/*/*.*',
'static/*.*',
'static/*/*.*',
'static/*/*/*.*',
],
},
author = "Chris Spencer",
author_email = "chrisspen@gmail.com",
description = "",
license = "LGPL",
url = "https://github.com/chrisspen/django-admin-steroids",
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: LGPL License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
zip_safe = False,
install_requires = get_reqs(),
)