Move DD code into its own directory (#6)

This commit is contained in:
Diego Hurtado
2020-04-08 11:39:44 -06:00
committed by GitHub
parent 72b40ba5f9
commit 5aee3ce32e
611 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,9 @@
import os
import sys
# DEV: We must append to sys path before importing ddtrace_run
sys.path.append('.')
from ddtrace.commands import ddtrace_run # noqa
os.environ['PYTHONPATH'] = '{}:{}'.format(os.getenv('PYTHONPATH'), os.path.abspath('.'))
ddtrace_run.main()