Added a simple docker dev environment
parent
33a4aedf6a
commit
d730543de4
@ -0,0 +1,5 @@
|
||||
black==22.10.0
|
||||
invoke==1.7.3
|
||||
pip-tools==6.9.0
|
||||
pre-commit==2.20.0
|
||||
pylint==2.15.4
|
@ -0,0 +1,79 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile with python 3.10
|
||||
# To update, run:
|
||||
#
|
||||
# pip-compile dev_requirements.in
|
||||
#
|
||||
astroid==2.12.12
|
||||
# via pylint
|
||||
black==22.10.0
|
||||
# via -r dev_requirements.in
|
||||
build==0.8.0
|
||||
# via pip-tools
|
||||
cfgv==3.3.1
|
||||
# via pre-commit
|
||||
click==8.1.3
|
||||
# via
|
||||
# black
|
||||
# pip-tools
|
||||
dill==0.3.5.1
|
||||
# via pylint
|
||||
distlib==0.3.6
|
||||
# via virtualenv
|
||||
filelock==3.8.0
|
||||
# via virtualenv
|
||||
identify==2.5.6
|
||||
# via pre-commit
|
||||
invoke==1.7.3
|
||||
# via -r dev_requirements.in
|
||||
isort==5.10.1
|
||||
# via pylint
|
||||
lazy-object-proxy==1.7.1
|
||||
# via astroid
|
||||
mccabe==0.7.0
|
||||
# via pylint
|
||||
mypy-extensions==0.4.3
|
||||
# via black
|
||||
nodeenv==1.7.0
|
||||
# via pre-commit
|
||||
packaging==21.3
|
||||
# via build
|
||||
pathspec==0.10.1
|
||||
# via black
|
||||
pep517==0.13.0
|
||||
# via build
|
||||
pip-tools==6.9.0
|
||||
# via -r dev_requirements.in
|
||||
platformdirs==2.5.2
|
||||
# via
|
||||
# black
|
||||
# pylint
|
||||
# virtualenv
|
||||
pre-commit==2.20.0
|
||||
# via -r dev_requirements.in
|
||||
pylint==2.15.4
|
||||
# via -r dev_requirements.in
|
||||
pyparsing==3.0.9
|
||||
# via packaging
|
||||
pyyaml==6.0
|
||||
# via pre-commit
|
||||
toml==0.10.2
|
||||
# via pre-commit
|
||||
tomli==2.0.1
|
||||
# via
|
||||
# black
|
||||
# build
|
||||
# pep517
|
||||
# pylint
|
||||
tomlkit==0.11.5
|
||||
# via pylint
|
||||
virtualenv==20.16.5
|
||||
# via pre-commit
|
||||
wheel==0.37.1
|
||||
# via pip-tools
|
||||
wrapt==1.14.1
|
||||
# via astroid
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
# pip
|
||||
# setuptools
|
@ -0,0 +1 @@
|
||||
print("Stuff file")
|
@ -0,0 +1,9 @@
|
||||
from invoke import task
|
||||
|
||||
@task
|
||||
def start_dev(c):
|
||||
"""Starts the """
|
||||
print("Starting the developer environment...")
|
||||
# c.run("docker-compose -f docker-compose.yml up -d", pty=True))
|
||||
c.run("xhost local:root")
|
||||
c.run("docker run --privileged -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw' -e DISPLAY=$DISPLAY -v $(pwd)/src/:/code -v /tmp/.X11-unix:/tmp/.X11-unix --network host --rm -i -t luxonis/depthai:latest bash", pty=True)
|
Loading…
Reference in New Issue