-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
setup.py
66 lines (60 loc) · 2.09 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
from os import path
from setuptools import find_packages, setup
# Get the version from moodle_dl/version.py without importing the package
exec(compile(open('moodle_dl/version.py').read(), 'moodle_dl/version.py', 'exec'))
def readme():
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
return f.read()
setup(
name='moodle-dl',
version=__version__,
description='Moodle-DL downloads course content fast from Moodle (eg. lecture pdfs)',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/C0D3D3V/Moodle-DL',
project_urls={
'Documentation': 'https://github.com/C0D3D3V/Moodle-DL#readme',
'Wiki': 'https://github.com/C0D3D3V/Moodle-DL/wiki',
'Source': 'https://github.com/C0D3D3V/Moodle-DL',
'Tracker': 'https://github.com/C0D3D3V/Moodle-DL/issues',
},
author='C0D3D3V',
author_email='moodle-dl@ist-ein-knaller.de',
license='GPL-3.0',
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'moodle-dl = moodle_dl.main:main',
],
},
python_requires='>=3.7',
install_requires=[
'aiodns>=3.0.0',
'aiofiles>=22.1.0',
'aiohttp>=3.8.4',
'certifi>=2020.4.5.2',
'colorama>=0.4.6',
'colorlog>=6.7.0',
'html2text>=2020.1.16',
'readchar>=4.0.3',
'requests>=2.24.0',
'sentry_sdk>=0.13.5',
'xmpppy>=0.7.1',
'yt_dlp>=2024.3.10',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Education',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Multimedia :: Video',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Utilities',
],
zip_safe=False,
)