forked from learningequality/ricecooker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
74 lines (67 loc) · 2.02 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
import ricecooker
readme = open('README.md').read()
with open('docs/history.rst') as history_file:
history = history_file.read()
requirements = [
"pytest>=3.0.2",
"requests>=2.11.1",
"docopt>=0.6.2",
"le_utils>=0.1.24",
"validators",
"requests_file",
"beautifulsoup4>=4.6.3,<4.9.0", # pinned to match versions in le-pycaption
"pressurecooker>=0.0.28",
"selenium==3.0.1",
"youtube-dl>=2020.03.24",
"html5lib",
"cachecontrol==0.12.0",
"lockfile==0.12.2",
"css-html-js-minify==2.2.2",
"websocket-client==0.40.0",
"mock==2.0.0",
"pypdf2>=1.26.0",
"dictdiffer>=0.8.0",
"Pillow==5.4.1",
"colorlog>=4.1.0,<4.2",
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='ricecooker',
version=ricecooker.__version__,
description="API for adding content to the Kolibri content curation server",
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
author="Learning Equality",
author_email='[email protected]',
url='https://github.com/learningequality/ricecooker',
packages=find_packages(),
package_dir={'ricecooker':'ricecooker'},
entry_points = {
'console_scripts': [
'corrections = ricecooker.utils.corrections:correctionsmain',
],
},
include_package_data=True,
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='ricecooker',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Natural Language :: English',
'Topic :: Education',
],
test_suite='tests',
tests_require=test_requirements
)