-
Notifications
You must be signed in to change notification settings - Fork 86
/
setup.py
34 lines (31 loc) · 1.14 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
#!/usr/bin/env python
from setuptools import setup
from subprocess import call
def convert_readme():
try:
call(["pandoc", "-f", "markdown_github", "-t", "rst", "-o", "README.txt", "README.markdown"])
except OSError:
pass
return open('README.txt').read()
setup(
name='django-genericadmin',
version='0.7.0',
description="Adds support for generic relations within Django's admin interface.",
author='Weston Nielson, Jan Schrewe, Arthur Hanson',
author_email='wnielson@gmail.com, jschrewe@googlemail.com, worldnomad@gmail.com',
url='https://github.com/arthanson/django-genericadmin',
packages = ['genericadmin'],
# package_data={'genericadmin': ['static/genericadmin/js/genericadmin.js']},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
long_description=convert_readme(),
include_package_data=True,
zip_safe=False,
)