-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
55 lines (46 loc) · 1.74 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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup, find_packages
project_name = "av1transcoder"
script_file = "{project_name}/constants.py".format(project_name=project_name)
description = "Transcode video files to the AV1 format using ffmpeg and libaom-av1."
with open(script_file, "r", encoding="utf-8") as opened_script_file:
version = re.search(
r"""^__version__\s*=\s*"(.*)"\s*""",
opened_script_file.read(),
re.M
).group(1)
with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name=project_name,
packages=find_packages(),
# add required packages to install_requires list
# install_requires=["package", "package2"],
entry_points={
"console_scripts": [
"{project_name} = {project_name}.{project_name}:main".format(project_name=project_name)
]
},
version=version,
description=description,
long_description=long_description,
author="Thomas Hess",
author_email="[email protected]",
url="https://github.com/luziferius/av1transcoder",
license="GPL v3+",
# list of classifiers: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Multimedia :: Video :: Conversion',
],
)