-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
60 lines (56 loc) · 1.68 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
60
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from distutils.core import setup
import os
def all_files(newroot, oldroot):
fdtuples = []
for root, dirs, files in os.walk(oldroot):
fds = []
for fd in files:
if fd[0] != '.':
fds.append(os.path.join(root, fd))
relpath = os.path.relpath(root, oldroot)
fdtuple = (os.path.join(newroot, relpath), fds)
fdtuples.append(fdtuple)
return fdtuples
base_data_files = [
('/etc', ['etc/tallypi.conf']),
('/etc/init.d', ['etc/init.d/tallypi']),
('/etc/default', ['etc/default/tallypi']),
('/usr/share/doc/tallypi', ['README.md', 'LICENSE']),
('/srv/www', ['www/dashboard.html'])
]
setup(
name='tallypi',
version='0.6.0',
description='A network controlled tally light for video cameras',
author='DeckerEgo',
author_email='john@deckerego.net',
url='http://tallypi.deckerego.net/',
long_description=open('README.md').read(),
packages=[
'tallypi',
'tallypi.webapp',
'tallypi.webapp.light',
'tallypi.webapp.powerswitch'
],
package_dir={
'': 'lib'
},
data_files=(base_data_files),
scripts=[
'scripts/run_server.py'
],
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Topic :: Multimedia :: Sound/Audio :: Capture/Recording"
],
keywords='tally light obs raspberry pi rpi cameras video recording',
requires=[
'bottle (>=0.12.15)',
'paste (>=3.0.6)'
],
)