[Python.NET] Allowing Python.Net to run with latest Python version

Vince Luff <[email protected]> Mon, 23 Nov 2020 16:49:06 +0000
Newsgroups gmane.comp.python.dotnet
Message-ID <VI1PR0301MB2255A5DE28CC46FA53FCD911A1FC0@VI1PR0301MB2255.eurprd03.prod.outlook.com>
--===============6307606011635403100==
Content-Language: en-GB
Content-Type: multipart/alternative;
	boundary="_000_VI1PR0301MB2255A5DE28CC46FA53FCD911A1FC0VI1PR0301MB2255_"

--_000_VI1PR0301MB2255A5DE28CC46FA53FCD911A1FC0VI1PR0301MB2255_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I work on a commercial Python package which I am currently enhancing to use=
 Python.Net in order to access some .Net libraries.
Before using Python.Net we specified to end users that the requirement for =
running our package was "Python 3 installed". Now that we are using Python.=
Net we can't say that statement because Python.Net 2.5.1 supports Python 3.=
8 but not Python 3.9.

Since our package is not a stand-alone application, but it instead provides=
 a Python API for users Python scripts to call,  it's not an option for us =
to convert the whole delivery into an exe using something like PyInstaller.

So I'm looking for advice about the best option:

  1.   Specify that end users install a specific version of Python (3.8) in=
 order to use our application.
  2.  Include Python 3.8 in our installer and install this if it's not alre=
ady installed. Is this a good idea?
  3.  Any other ideas?

Many thanks,
DareDevilDenis


--_000_VI1PR0301MB2255A5DE28CC46FA53FCD911A1FC0VI1PR0301MB2255_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
Hello,</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
I work on a commercial Python package which I am currently enhancing to use=
 Python.Net in order to access some .Net libraries.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
Before using Python.Net&nbsp;we specified to end users that the requirement=
 for running our
<span style=3D"background-color:rgb(255, 255, 255);display:inline !importan=
t">package<span>&nbsp;</span></span>was &quot;<b>Python 3 installed</b>&quo=
t;. Now that we are using Python.Net we can't say that statement because&nb=
sp;<span style=3D"background-color:rgb(255, 255, 255);display:inline !impor=
tant">Python.Net<span>&nbsp;2.5.1
 supports Python 3.8 but not Python 3.9.</span></span></div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<span style=3D"background-color:rgb(255, 255, 255);display:inline !importan=
t"><span><br>
</span></span></div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<span style=3D"background-color:rgb(255, 255, 255);display:inline !importan=
t"><span><span style=3D"background-color:rgb(255, 255, 255);display:inline =
!important">Since our package is not a stand-alone application, but it inst=
ead provides a Python API for users
 Python scripts to call,&nbsp; it's not an option for us to convert the who=
le delivery into an exe using something like&nbsp;PyInstaller.</span><br>
</span></span></div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<span style=3D"background-color:rgb(255, 255, 255);display:inline !importan=
t"><span><br>
</span></span></div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<span style=3D"color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-s=
erif; font-size: 12pt;">So I'm looking for advice about the best option:</s=
pan><br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<div>
<ol>
<li><span style=3D"text-align:start;background-color:rgb(255, 255, 255);dis=
play:inline !important">&nbsp;Specify that end users install a specific ver=
sion of Python (3.8) in order to use our application.</span></li><li>Includ=
e Python 3.8 in our installer and install this if it's not already installe=
d. Is this a good idea?</li><li>Any other ideas?<br>
</li></ol>
<div></div>
</div>
<div><br>
</div>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<span style=3D"color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-s=
erif; font-size: 12pt;">Many thanks,</span><br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
DareDevilDenis</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>

--_000_VI1PR0301MB2255A5DE28CC46FA53FCD911A1FC0VI1PR0301MB2255_--

--===============6307606011635403100==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
PythonNet mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pythonnet.python.org/
Member address: [email protected]

--===============6307606011635403100==--