forked from slhck/ffmpeg-progress-yield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (50 loc) · 1.76 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
#!/usr/bin/env python
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# read version string
with open(path.join(here, "ffmpeg_progress_yield", "__init__.py")) as version_file:
version = eval(version_file.read().split("\n")[2].split("=")[1].strip())
# Get the long description from the README file
with open(path.join(here, "README.md")) as f:
long_description = f.read()
# Get the history from the CHANGELOG file
with open(path.join(here, "CHANGELOG.md")) as f:
history = f.read()
setup(
name="ffmpeg_progress_yield",
version=version,
description="Run an ffmpeg command with progress",
long_description=long_description + "\n\n" + history,
long_description_content_type="text/markdown",
author="Werner Robitza",
author_email="werner.robitza@gmail.com",
url="https://github.com/slhck/ffmpeg-progress-yield",
packages=["ffmpeg_progress_yield"],
include_package_data=True,
package_data={
"ffmpeg_progress_yield": ["py.typed"],
},
install_requires=[],
license="MIT",
zip_safe=False,
keywords="ffmpeg",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
python_requires=">=3.9",
entry_points={
"console_scripts": [
"ffmpeg-progress-yield = ffmpeg_progress_yield.__main__:main"
]
},
)