8000 Fix readme and setup.py for uploading to pypi · pythonnet/pythonnet@3328d7d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3328d7d

Browse files
committed
Fix readme and setup.py for uploading to pypi
1 parent 94b1a71 commit 3328d7d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Embedding Python in .NET
4949
starting with version 3.0, otherwise you will receive ``BadPythonDllException``
5050
(internal, derived from ``MissingMethodException``) upon calling ``Initialize``.
5151
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).
5353
- All calls to python should be inside a
5454
``using (Py.GIL()) {/* Your code here */}`` block.
5555
- Import python modules using ``dynamic mod = Py.Import("mod")``, then

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def finalize_options(self):
156156
packages=["pythonnet", "pythonnet.find_libpython"],
157157
install_requires=["clr_loader"],
158158
long_description=long_description,
159+
long_description_content_type="text/x-rst",
159160
py_modules=["clr"],
160161
dotnet_libs=dotnet_libs,
161162
classifiers=[

0 commit comments

Comments
 (0)
0