File tree 2 files changed +11
-0
lines changed
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
5
5
# Required by ext packages
6
6
aiohttp ~= 3.0
7
7
Deprecated>=1.2.6
8
+ django>=2.2
8
9
PyMySQL~=0.9.3
9
10
flask~=1.0
10
11
mysql-connector-python~=8.0
@@ -13,5 +14,6 @@ prometheus_client>=0.5.0,<1.0.0
13
14
psycopg2-binary>=2.7.3.1
14
15
pymongo~=3.1
15
16
redis>=2.6
17
+ sqlalchemy>=1.0
16
18
thrift>=0.10.0
17
19
wrapt >=1.0.0,<2.0.0
Original file line number Diff line number Diff line change 15
15
from os import listdir
16
16
from os .path import isdir , join
17
17
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
+
18
27
source_dirs = [
19
28
os .path .abspath ("../opentelemetry-api/src/" ),
20
29
os .path .abspath ("../opentelemetry-sdk/src/" ),
You can’t perform that action at this time.
0 commit comments