Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko <[email protected]> Sun, 24 Feb 2019 09:57:17 +0100
Newsgroups gmane.comp.python.cherrypy
Message-ID <CAFYONRCJyOF3x8e=_ovRDkLbUX1FByPV=UrPe2cgcyJtG3ABYQ@mail.gmail.com>
--00000000000081bd370582a003a3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On PyPI, versions >=3D18 are Python 3 only.
Older versions <18 support both Python 2&3

--Sviatoslav.

Sent from my phone, please pardon any typos.

=D0=BD=D0=B4, 24 =D0=BB=D1=8E=D1=82. 2019, 09:52 =D0=BA=D0=BE=D1=80=D0=B8=
=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 Marius Widmann <[email protected]=
om>
=D0=BF=D0=B8=D1=88=D0=B5:

> Is the package from PyPi for Python3 ?
>
> On Friday, February 22, 2019 at 11:12:08 PM UTC+1, Sviatoslav Sydorenko
> (@webknjaz) wrote:
>>
>> As long as you have that packaged correctly. We only officially support
>> python distribution packages but you should be able to build your own de=
b
>> package if you want.
>>
>> Installing things from PyPI is not bad but you need to follow the rules.
>> For example, by installing random things into system-managed site packag=
es
>> (aka with sudo) may damage your OS as it breaks consistently with things
>> managed by apt. It is well-known that you can break things this way in
>> dev-based distros. OS packagers normally test that various python-based
>> things they wrap into deb packages work well together.
>>
>> OTOH, using virtualenv is just fine. It isolates your env with deps for
>> your app and reduces any damage you may cause by installing stuff.
>>
>> Here's a great write-up on why you should use it:
>> https://hynek.me/articles/virtualenv-lives/
>>
>>
>> --Sviatoslav.
>>
>> Sent from my phone, please pardon any typos.
>>
>> =D0=BF=D1=82, 22 =D0=BB=D1=8E=D1=82. 2019, 19:23 =D0=BA=D0=BE=D1=80=D0=
=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 Andrew Maizels <[email protected]=
m>
>> =D0=BF=D0=B8=D1=88=D0=B5:
>>
>>> Sure.
>>>
>>> Should be as simple as apt install python-cherrypy.
>>>
>>> On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <[email protected]>
>>> wrote:
>>>
>>>> Hey there,
>>>>
>>>> I have a litte web app developed with up to date cherrypy. My sysadmin
>>>> tells me that he does not want any pip or github installations on our
>>>> production server running ubuntu 16.04. He says something wrong with
>>>> anything but apt install...
>>>>
>>>> Is there a way to install cherrypy for ubuntu 16.04 via apt ?
>>>>
>>>> Thanks a lot
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "cherrypy-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to cherrypy-user...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>>>> To post to this group, send email to cherryp...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>>>> Visit this group at https://groups.google.com/group/cherrypy-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>> Ahh... We are all heroes; you and Boo and I.
>>> Hamsters and rangers everywhere, rejoice!
>>> Read Peopleware!
>>> http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/09=
32633439
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "cherrypy-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cherrypy-user...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>>> To post to this group, send email to cherryp...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>>> Visit this group at https://groups.google.com/group/cherrypy-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "cherrypy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> Visit this group at https://groups.google.com/group/cherrypy-users.
> For more options, visit https://groups.google.com/d/optout.
>

--=20
You received this message because you are subscribed to the Google Groups "=
cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.

--00000000000081bd370582a003a3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">On PyPI, versions &gt;=3D18 are Python 3 only.<div dir=3D=
"auto">Older versions &lt;18 support both Python 2&amp;3<br><br><div data-s=
martmail=3D"gmail_signature" dir=3D"auto">--Sviatoslav.<br><br>Sent from my=
 phone, please pardon any typos.</div></div></div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr" class=3D"gmail_attr">=D0=BD=D0=B4, 24 =D0=BB=D1=8E=
=D1=82. 2019, 09:52 =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=
=D1=87 Marius Widmann &lt;<a href=3D"mailto:[email protected]">mariu=
[email protected]</a>&gt; =D0=BF=D0=B8=D1=88=D0=B5:<br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><div dir=3D"ltr">Is the package from PyPi for Python3 ?<=
br><br>On Friday, February 22, 2019 at 11:12:08 PM UTC+1, Sviatoslav Sydore=
nko (@webknjaz) wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;m=
argin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"a=
uto">As long as you have that packaged correctly. We only officially suppor=
t python distribution packages but you should be able to build your own deb=
 package if you want.<div dir=3D"auto"><br></div><div dir=3D"auto">Installi=
ng things from PyPI is not bad but you need to follow the rules. For exampl=
e, by installing random things into system-managed site packages (aka with =
sudo) may damage your OS as it breaks consistently with things managed by a=
pt. It is well-known that you can break things this way in dev-based distro=
s. OS packagers normally test that various python-based things they wrap in=
to deb packages work well together.</div><div dir=3D"auto"><br></div><div d=
ir=3D"auto">OTOH, using virtualenv is just fine. It isolates your env with =
deps for your app and reduces any damage you may cause by installing stuff.=
</div><div dir=3D"auto"><br></div><div dir=3D"auto">Here&#39;s a great writ=
e-up on why you should use it: <a href=3D"https://hynek.me/articles/virtual=
env-lives/" rel=3D"nofollow noreferrer" target=3D"_blank">https://hynek.me/=
articles/virtualenv-lives/</a></div><div dir=3D"auto"><br><br><div dir=3D"a=
uto">--Sviatoslav.<br><br>Sent from my phone, please pardon any typos.</div=
></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">=D0=BF=D1=82, =
22 =D0=BB=D1=8E=D1=82. 2019, 19:23 =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=
=83=D0=B2=D0=B0=D1=87 Andrew Maizels &lt;<a rel=3D"nofollow noreferrer">and=
[email protected]</a>&gt; =D0=BF=D0=B8=D1=88=D0=B5:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><div dir=3D"ltr">Sure.<div><br></div><div>Should be as sim=
ple as apt install python-cherrypy.</div></div><br><div class=3D"gmail_quot=
e"><div dir=3D"ltr">On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann &lt;<a r=
el=3D"nofollow noreferrer">[email protected]</a>&gt; wrote:<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex">Hey there,<br>
<br>
I have a litte web app developed with up to date cherrypy. My sysadmin tell=
s me that he does not want any pip or github installations on our productio=
n server running ubuntu 16.04. He says something wrong with anything but ap=
t install...<br>
<br>
Is there a way to install cherrypy for ubuntu 16.04 via apt ?<br>
<br>
Thanks a lot<br>
<br>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a rel=3D"nofollow noreferrer">cherrypy-user...-/[email protected]</a=
>.<br>
To post to this group, send email to <a rel=3D"nofollow noreferrer">cherryp=
[email protected]</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow noreferrer" target=3D"_blank">https://groups.google.com=
/group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"nofollow noreferrer" target=3D"_blank">https://groups.google.com/d/opto=
ut</a>.<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
>Ahh... We are all heroes; you and Boo and I.<br>Hamsters and rangers every=
where, rejoice!<br>Read Peopleware! <a href=3D"http://www.amazon.com/People=
ware-Productive-Projects-Teams-Second/dp/0932633439" rel=3D"nofollow norefe=
rrer" target=3D"_blank">http://www.amazon.com/Peopleware-Productive-Project=
s-Teams-Second/dp/0932633439</a><br></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a rel=3D"nofollow noreferrer">cherrypy-user...-/[email protected]</a=
>.<br>
To post to this group, send email to <a rel=3D"nofollow noreferrer">cherryp=
[email protected]</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow noreferrer" target=3D"_blank">https://groups.google.com=
/group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"nofollow noreferrer" target=3D"_blank">https://groups.google.com/d/opto=
ut</a>.<br>
</blockquote></div>
</blockquote></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:cherrypy-users+unsubscribe-/[email protected]" targ=
et=3D"_blank" rel=3D"noreferrer">cherrypy-users+unsubscribe-/[email protected]=
m</a>.<br>
To post to this group, send email to <a href=3D"mailto:cherrypy-users@googl=
egroups.com" target=3D"_blank" rel=3D"noreferrer">cherrypy-users@googlegrou=
ps.com</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" target=3D"_blank" rel=3D"noreferrer">https://groups.google.com/group/ch=
errypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" targ=
et=3D"_blank" rel=3D"noreferrer">https://groups.google.com/d/optout</a>.<br=
>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:cherrypy-users+unsubscribe-/[email protected]">cher=
rypy-users+unsubscribe-/[email protected]</a>.<br />
To post to this group, send email to <a href=3D"mailto:cherrypy-users@googl=
egroups.com">cherrypy-users-/[email protected]</a>.<br />
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs">https://groups.google.com/group/cherrypy-users</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

--00000000000081bd370582a003a3--