-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
executable file
·39 lines (35 loc) · 965 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
37
38
39
#!/usr/bin/env python3
from setuptools import setup
import json
pkg = json.load(open('package.json', 'r'))
setup(
name = pkg['name'],
version = pkg['version'],
description = 'Buildbotics Machine Controller',
long_description = open('README.md', 'rt').read(),
author = 'Joseph Coffland',
author_email = 'joseph@buildbotics.org',
platforms = ['any'],
license = pkg['license'],
url = pkg['homepage'],
package_dir = {'': 'src/py'},
packages = ['bbctrl', 'inevent', 'lcd', 'udevevent'],
include_package_data = True,
entry_points = {
'console_scripts': [
'bbctrl = bbctrl:run'
]
},
scripts = [
'scripts/update-bbctrl',
'scripts/upgrade-bbctrl',
'scripts/sethostname',
'scripts/config-wifi',
'scripts/run-browser',
'scripts/mount-usb',
'scripts/eject-usb',
'scripts/update-bb-firmware',
],
install_requires = 'tornado sockjs-tornado pyserial pyudev smbus2'.split(),
zip_safe = False,
)