-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
59 lines (49 loc) · 1.62 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
# -*- coding=utf-8 -*-
# Library: ffio
# Author: dongrixinyu, koisi
# License: MIT
# Email: [email protected]
# Github: https://github.com/dongrixinyu/ffio
# Description: An easy-to-use Python wrapper for FFmpeg-C-API.
# Website: http://www.jionlp.com
import os
import re
import sys
import setuptools
# get version tag
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
__version__ = '2.0.4'
with open(os.path.join(DIR_PATH, 'requirements.txt'),
'r', encoding='utf-8') as f:
requirements = f.readlines()
def setup_package():
# this line could be dismissed
# extensions = None
setuptools.setup(
name='ffio',
version=__version__,
author='dongrixinyu, koisi',
author_email='[email protected]',
description='ffio: An easy-to-use Python wrapper for FFmpeg-C-API.',
# long_description_content_type='text/markdown',
url='https://github.com/dongrixinyu/ffio',
packages=setuptools.find_packages(),
package_data={
'': ['*.txt', '*.pkl', '*.npz', '*.zip',
'*.json', '*.c', '*.h']
},
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT',
'Operating System :: Ubuntu',
'Topic :: Audio & Video Stream Processing',
'Topic :: FFmpeg',
],
install_requires=requirements,
zip_safe=False,
# cmdclass={'build_ext': build_ext} if sys.platform == 'linux' else {},
# setup_requires=['numpy'],
)
if __name__ == '__main__':
setup_package()