Files
onefinity-firmware/setup.py
David Carley 41e2334484 • Reorganized the scripts into different categories
• Refactored the graphical boot screens to have separate boot and shutdown images
• Changed the reboot and shutdown code to force the display of the splash images.
• Added 'Team Onefinity.ngc' to the installer files
2022-07-23 20:04:17 -07:00

50 lines
1.1 KiB
Python
Executable File

#!/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',
'camotics',
'iw_parse'
],
include_package_data=True,
entry_points={
'console_scripts': [
'bbctrl = bbctrl:run'
]
},
scripts=[
'installer/scripts/update-bbctrl',
'installer/scripts/upgrade-bbctrl',
'installer/scripts/sethostname',
'installer/scripts/config-wifi',
'installer/scripts/edit-config',
'installer/scripts/edit-boot-config',
'installer/scripts/browser',
],
install_requires=[
'tornado',
'sockjs-tornado',
'pyserial',
'pyudev',
'smbus2',
'watchdog'
],
zip_safe=False,
)