-
Notifications
You must be signed in to change notification settings - Fork 54
/
setup.py
72 lines (67 loc) · 2.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
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
#!/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()
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",
"jiro = ricecooker.cli:main",
]
},
include_package_data=True,
install_requires=[
"requests>=2.11.1",
"le_utils>=0.1.26",
"requests_file",
"beautifulsoup4>=4.6.3,<4.9.0", # pinned to match versions in le-pycaption
"selenium==4.25.0",
"yt-dlp==2024.10.7",
"html5lib",
"cachecontrol==0.12.11",
"lockfile==0.12.2", # This is needed, but not specified as a dependency by cachecontrol
"css-html-js-minify==2.5.5",
"pypdf2==1.26.0",
"dictdiffer>=0.8.0",
"Pillow==10.4.0",
"colorlog>=4.1.0,<6.9",
"PyYAML>=5.3.1",
"Jinja2>=2.10",
"chardet==5.2.0",
"ffmpy>=0.2.2",
"pdf2image==1.17.0",
"le-pycaption>=2.2.0a1",
"EbookLib>=0.17.1",
"filetype>=1.1.0",
"urllib3==2.2.3",
],
python_requires=">=3.8, <3.13",
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Natural Language :: English",
"Topic :: Education",
],
test_suite="tests",
)