-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (32 loc) · 943 Bytes
/
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
#!/usr/bin/env python3
from pybind11.setup_helpers import build_ext, Pybind11Extension
from setuptools import setup, find_packages
ext_modules = [
Pybind11Extension(
'pybraw._pybraw',
sources=['ext/pybraw_ext.cpp'],
include_dirs=['vendor/linux/include'],
libraries=['BlackmagicRawAPI'],
),
]
setup(
name='pybraw',
version='2.1.0',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
author='Aiden Nibali',
description='Python bindings for the Blackmagic RAW SDK',
license='MIT',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
zip_safe=False,
test_suite='tests',
ext_modules=ext_modules,
cmdclass={'build_ext': build_ext},
install_requires=['numpy'],
classifiers=[
'Topic :: Multimedia :: Video',
'License :: OSI Approved :: MIT License',
]
)