File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ sphinx-autodoc-typehints~=1.10.2
55# Required by ext packages
66aiohttp ~= 3.0
77Deprecated>=1.2.6
8+ django>=2.2
89PyMySQL~=0.9.3
910flask~=1.0
1011mysql-connector-python~=8.0
@@ -13,5 +14,6 @@ prometheus_client>=0.5.0,<1.0.0
1314psycopg2-binary>=2.7.3.1
1415pymongo~=3.1
1516redis>=2.6
17+ sqlalchemy>=1.0
1618thrift>=0.10.0
1719wrapt >=1.0.0,<2.0.0
Original file line number Diff line number Diff line change 1515from os import listdir
1616from os .path import isdir , join
1717
18+ # configure django to avoid the following exception:
19+ # django.core.exceptions.ImproperlyConfigured: Requested settings, but settings
20+ # are not configured. You must either define the environment variable
21+ # DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
22+ from django .conf import settings
23+
24+ settings .configure ()
25+
26+
1827source_dirs = [
1928 os .path .abspath ("../opentelemetry-api/src/" ),
2029 os .path .abspath ("../opentelemetry-sdk/src/" ),
You can’t perform that action at this time.
0 commit comments