-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
59 lines (52 loc) · 1.77 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
51
52
53
54
55
56
57
58
59
# Copyright 2012 UNED. All rights reserved.
import fnmatch
from setuptools import setup, find_packages
import os
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def recursive_include(directory, patterns):
result = []
for root, dirs, files in os.walk(directory):
child_root = root.replace(directory, '').lstrip('/')
for pattern in patterns:
result.extend([os.path.join(child_root, name)
for name in fnmatch.filter(files, pattern)])
return result
version = '0.3'
setup(name='openmooc-askbot',
version=version,
description=("Askbot openmooc integration (theme, saml2, tags api)"),
long_description=(read('README.rst') + '\n\n' + read('CHANGES.rst')),
classifiers=[
'Development Status :: 6 - Development',
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
keywords='askbot openmoc',
author='UNED',
url='https://github.com/OpenMOOC/askbot-openmooc',
license='Apache Software License',
packages=find_packages('.'),
include_package_data=True,
package_data={
'docs': recursive_include('docs', '*'),
},
zip_safe=False,
install_requires=[
'askbot==0.7.48',
'djangosaml2==0.10.0',
'python-memcached==1.48',
'requests==1.2.0',
'supervisor',
'gunicorn',
# Fixed version of relates requires"
'django_robots==0.8.1',
# 'django-sphinx', this doesn't run with askbot
],
entry_points="""
# -*- Entry points: -*-
""",
)