-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (40 loc) · 1.32 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
from setuptools import setup, find_packages
from setuptools.command.install import install
from sys import path
path.insert(0, './')
from pytaVSL import __version__
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
install.run(self)
print('==========')
print('For video playback support you need to install the following:')
print('- opencv (pip: opencv-python / debian: python3-opencv)')
print('- pyo (debian: python3-pyo)')
print('- ffmpeg')
print('==========')
setup(
name='pytaVSL',
packages=['pytaVSL', 'pytaVSL.engine', 'pytaVSL.fonts', 'pytaVSL.shaders', 'pytaVSL.slides'],
package_data={'pytaVSL': ['shaders/*', 'shaders/**/*', 'fonts/*']},
version=__version__,
description='python tiny aproximative Virtual Stage Light',
url='https://github.com/PlagiatBros/pytaVSL',
author='Plagiat Brothers',
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
],
python_requires='>=3',
install_requires=[
'pi3d==2.36',
'toml==0.10',
'liblo==0.10',
],
extras_require={
'video': ['opencv-python'],
'video_audio': ['opencv-python', 'mplayer.py']
},
cmdclass={
'install': PostInstallCommand,
}
)