forked from mitodl/xsiftx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.79 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
"""
Package information and dependencies
"""
import os
import sys
from setuptools import setup, find_packages
from distutils.sysconfig import get_python_lib
if "install" in sys.argv:
lib_paths = [get_python_lib()]
if lib_paths[0].startswith("/usr/lib/"):
# We have to try also with an explicit prefix of /usr/local in order to
# catch Debian's custom user site-packages directory.
lib_paths.append(get_python_lib(prefix="/usr/local"))
for lib_path in lib_paths:
existing_path = os.path.abspath(os.path.join(lib_path, "xsiftx"))
EXCLUDE_FROM_PACKAGES = []
version = __import__('xsiftx').VERSION
setup(
name='xsiftx',
version=version,
url='http://github.com/mitocw/xsiftx',
author='MITx',
author_email='[email protected]',
description=('Program for running data collection scripts against courses '
'and putting the results in the instructor dashboard of the '
'local edx-platform instance'),
license='GNU General Public License v3 (GPLv3)',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
entry_points={'console_scripts': [
'xsiftx = xsiftx.command_line:execute',
]},
zip_safe=False,
install_requires=[
'boto >= 2.13.3',
'flask',
'oauth',
'celery',
'PyYAML',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
)