@@ -42,21 +42,9 @@ documentation](https://github.com/Dynatrace/OneAgent-SDK-for-C/blob/master/READM
42
42
43
43
<a id =" installation " ></a >
44
44
45
- Once the oneagent SDK is released to PyPI, you will be able to just do `python
46
- -m pip install oneagent-sdk`, to install the SDK.
47
-
48
- While the SDK has no public release, please use the wheels provided on the
49
- [ GitHub releases
50
- page] ( https://github.com/Dynatrace/OneAgent-SDK-for-Python/releases ) , by
51
- giving the additional option
52
- ` --find-links DISTIDXURL ` to pip (where ` DISTIDXURL ` is the URL linked on the
53
- GitHub release. This approach also works when
54
- installing packages that depend on the oneagent-sdk package, e.g. `pip install
55
- --find-links DISTIDXURL my-pkg-that-uses-oneagent-sdk`. (Note that this means that
56
- you cannot just use ` python setup.py install ` for the dependent package. If you
57
- only have a directoy with ` setup.py ` instead of a proper distribution, use
58
- ` python setup.py sdist ` and then `pip install --find-links dist --find-links
59
- DISTIDXURL PACKAGENAME`.)
45
+
46
+ Just do ` python -m pip install --upgrade oneagent-sdk ` , to install the latest
47
+ version of the OneAgent SDK for Python.
60
48
61
49
To verify your installation, execute
62
50
@@ -83,11 +71,15 @@ if not oneagent.try_init():
83
71
84
72
with SDK .get().trace_incoming_remote_call(' method' , ' service' , ' endpoint' ):
85
73
pass
74
+
75
+ print (' It may take a few moments before the path appears in the UI.' )
76
+ input (' Please wait...' )
77
+ oneagent.shutdown()
86
78
```
87
79
88
- For this, follow the < tests/onesdksamplepy.py>
89
- example (see also the
90
- [ documentation] ( https://dynatrace.github.io/OneAgent-SDK-for-Python/quickstart.html ) .
80
+ For this, follow the [ tests/onesdksamplepy.py] ( test/onesdksamplepy.py ) example
81
+ (see also the
82
+ [ documentation] ( https://dynatrace.github.io/OneAgent-SDK-for-Python/quickstart.html ) ) .
91
83
92
84
## Documentation
93
85
0 commit comments