| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,7 +49,7 @@ Embedding Python in .NET | |||
| 49 | 49 | starting with version 3.0, otherwise you will receive ``BadPythonDllException`` | |
| 50 | 50 | (internal, derived from ``MissingMethodException``) upon calling ``Initialize``. | |
| 51 | 51 | Typical values are ``python38.dll`` (Windows), ``libpython3.8.dylib`` (Mac), | |
| 52 | - ``libpython3.8.so`` (most other *nix). | ||
| 52 | + ``libpython3.8.so`` (most other Unix-like operating systems). | ||
| 53 | 53 | - All calls to python should be inside a | |
| 54 | 54 | ``using (Py.GIL()) {/* Your code here */}`` block. | |
| 55 | 55 | - Import python modules using ``dynamic mod = Py.Import("mod")``, then | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -156,6 +156,7 @@ def finalize_options(self): | |||
| 156 | 156 | packages=["pythonnet", "pythonnet.find_libpython"], | |
| 157 | 157 | install_requires=["clr_loader"], | |
| 158 | 158 | long_description=long_description, | |
| 159 | + long_description_content_type="text/x-rst", | ||
| 159 | 160 | py_modules=["clr"], | |
| 160 | 161 | dotnet_libs=dotnet_libs, | |
| 161 | 162 | classifiers=[ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments