-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
81 lines (75 loc) · 2.54 KB
/
Copy pathsetup.py
File metadata and controls
81 lines (75 loc) · 2.54 KB
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
75
76
77
78
79
80
81
import re
from pathlib import Path
from setuptools import find_packages, setup
requirements_path = Path('requirements')
with open(requirements_path / 'main.txt') as f:
requirements = f.read().split()
extras_requirements = {}
for extra in requirements_path.iterdir():
if not extra.name.endswith('main.txt'):
with open(extra) as f:
extras_requirements[extra.name[:-4]] = f.read().split()
with open('README.md') as f:
long_description = f.read()
with open(Path('medicure') / 'version.py') as f:
version = re.search(
r'__version__\s=\s\'(?P<version>.*)\'', f.read()
).group('version')
setup(
name='medicure',
version=version,
description=(
'A cosmetic treatment for your media files: '
'movies, TV shows and also their subtitles.'
),
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/alirezatheh/medicure',
project_urls={
'Bug Tracker': 'https://github.com/alirezatheh/medicure/issues',
'Documentation': 'https://github.com/alirezatheh/medicure',
'Source Code': 'https://github.com/alirezatheh/medicure',
},
author='Alireza Hosseini',
author_email='alirezatheh@gmail.com',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
entry_points={'console_scripts': ['medicure = medicure.cli:app']},
keywords=[
'audio',
'video',
'videos',
'media',
'multimedia',
'movies',
'tv',
'tvshows',
'tv-shows',
'series',
'subtitle',
'subtitles',
'audio-processing',
'video-processing',
],
install_requires=requirements,
extras_require=extras_requirements,
python_requires='>=3.8',
classifiers=[
'Topic :: Multimedia :: Video',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Other/Nonlisted Topic',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Operating System :: OS Independent',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: Education',
],
)