-
Notifications
You must be signed in to change notification settings - Fork 38
/
setup.py
39 lines (36 loc) · 1.19 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
#!/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.md"])
except OSError:
pass
return open('README.txt').read()
setup(name='mongoadmin',
version='0.2',
description="A replacement for django's admin that works with mongodb.",
author='Jan Schrewe',
author_email='[email protected]',
url='http://www.schafproductions.com/projects/mongo-admin/',
packages=[
'mongoadmin',
'mongoadmin.templatetags',
'mongoadmin.contenttypes',
'mongoadmin.auth',
],
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',
],
license='New BSD License',
long_description=convert_readme(),
include_package_data=True,
zip_safe=False,
install_requires=['setuptools', 'django>=1.3', 'mongoengine>=0.6', 'mongodbforms',],
)