forked from happycube/ld-decode
-
Notifications
You must be signed in to change notification settings - Fork 46
/
setup.py
executable file
·51 lines (50 loc) · 1.56 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
from setuptools import setup
from Cython.Build import cythonize
import numpy
setup(
# name='ld-decode',
# version='7',
# description='Software defined LaserDisc decoder',
# url='https://github.com/happycube/ld-decode',
# keywords=['video', 'LaserDisc'],
# classifiers=[
# 'Environment :: Console',
# 'Environment :: X11 Applications :: Qt',
# 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
# 'Programming Language :: C++',
# 'Programming Language :: Python :: 3',
# 'Topic :: Multimedia :: Video :: Capture',
# ],
setup_requires=["cython"],
packages=[
"lddecode",
"vhsdecode",
"vhsdecode/addons",
"vhsdecode/format_defs",
"cvbsdecode",
"vhsdecode/hifi",
],
# TODO: should be done in pyproject.toml but did not find any way
# of including without making them modules.
scripts=[
"ld-cut",
"cx-expander",
"decode.py",
],
# scripts=[
# 'cx-expander',
# 'ld-cut',
# 'ld-decode',
# 'scripts/ld-compress',
# 'vhs-decode',
# 'cvbs-decode',
# 'hifi-decode',
# ],
ext_modules=cythonize(["vhsdecode/*.pyx"], language_level=3),
# Needed for using numpy in cython.
include_dirs=[numpy.get_include()],
# These are just the minimal runtime dependencies for the Python scripts --
# see the documentation for the full list of dependencies.
provides=["lddecode"],
requires=["matplotlib", "numba", "numpy", "scipy", "Cython"],
)