Re: Cherrypy in Ubuntu with apt install

Marius Widmann <[email protected]> Sat, 23 Feb 2019 03:01:26 -0800 (PST)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
------=_Part_154_1409939210.1550919686872
Content-Type: multipart/alternative; 
	boundary="----=_Part_155_456997175.1550919686872"

------=_Part_155_456997175.1550919686872
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Is the package from PyPi for Python3 ?

On Friday, February 22, 2019 at 11:12:08 PM UTC+1, Sviatoslav Sydorenko=20
(@webknjaz) wrote:
>
> As long as you have that packaged correctly. We only officially support=
=20
> python distribution packages but you should be able to build your own deb=
=20
> package if you want.
>
> Installing things from PyPI is not bad but you need to follow the rules.=
=20
> For example, by installing random things into system-managed site package=
s=20
> (aka with sudo) may damage your OS as it breaks consistently with things=
=20
> managed by apt. It is well-known that you can break things this way in=20
> dev-based distros. OS packagers normally test that various python-based=
=20
> things they wrap into deb packages work well together.
>
> OTOH, using virtualenv is just fine. It isolates your env with deps for=
=20
> your app and reduces any damage you may cause by installing stuff.
>
> Here's a great write-up on why you should use it:=20
> 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]=
=20
> <javascript:>> =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]=20
>> <javascript:>> wrote:
>>
>>> Hey there,
>>>
>>> I have a litte web app developed with up to date cherrypy. My sysadmin=
=20
>>> tells me that he does not want any pip or github installations on our=
=20
>>> production server running ubuntu 16.04. He says something wrong with=20
>>> anything but apt install...
>>>
>>> Is there a way to install cherrypy for ubuntu 16.04 via apt ?
>>>
>>> Thanks a lot
>>>
>>> --=20
>>> You received this message because you are subscribed to the Google=20
>>> Groups "cherrypy-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send=
=20
>>> an email to cherrypy-user...-/[email protected] <javascript:>.
>>> To post to this group, send email to cherryp...-/[email protected]=20
>>> <javascript:>.
>>> Visit this group at https://groups.google.com/group/cherrypy-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --=20
>> Ahh... We are all heroes; you and Boo and I.
>> Hamsters and rangers everywhere, rejoice!
>> Read Peopleware!=20
>> http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/093=
2633439
>>
>> --=20
>> You received this message because you are subscribed to the Google Group=
s=20
>> "cherrypy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n=20
>> email to cherrypy-user...-/[email protected] <javascript:>.
>> To post to this group, send email to cherryp...-/[email protected]=20
>> <javascript:>.
>> 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.

------=_Part_155_456997175.1550919686872
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Is the package from PyPi for Python3 ?<br><br>On Friday, F=
ebruary 22, 2019 at 11:12:08 PM UTC+1, Sviatoslav Sydorenko (@webknjaz) wro=
te:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;=
border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"auto">As long a=
s you have that packaged correctly. We only officially support python distr=
ibution packages but you should be able to build your own deb package if yo=
u want.<div dir=3D"auto"><br></div><div dir=3D"auto">Installing things from=
 PyPI is not bad but you need to follow the rules. For example, by installi=
ng random things into system-managed site packages (aka with sudo) may dama=
ge 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 packager=
s normally test that various python-based things they wrap into deb package=
s work well together.</div><div dir=3D"auto"><br></div><div dir=3D"auto">OT=
OH, 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 write-up on why yo=
u should use it: <a href=3D"https://hynek.me/articles/virtualenv-lives/" ta=
rget=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;https://ww=
w.google.com/url?q\x3dhttps%3A%2F%2Fhynek.me%2Farticles%2Fvirtualenv-lives%=
2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOOMNHgsiBGtxOk8IZ9wBQpad7xw&#39=
;;return true;" onclick=3D"this.href=3D&#39;https://www.google.com/url?q\x3=
dhttps%3A%2F%2Fhynek.me%2Farticles%2Fvirtualenv-lives%2F\x26sa\x3dD\x26sntz=
\x3d1\x26usg\x3dAFQjCNFOOMNHgsiBGtxOk8IZ9wBQpad7xw&#39;;return true;">https=
://hynek.me/articles/<wbr>virtualenv-lives/</a></div><div dir=3D"auto"><br>=
<br><div dir=3D"auto">--Sviatoslav.<br><br>Sent from my phone, please pardo=
n any typos.</div></div></div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r">=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 href=3D"javas=
cript:" target=3D"_blank" gdf-obfuscated-mailto=3D"pdzc6ITSAgAJ" rel=3D"nof=
ollow" onmousedown=3D"this.href=3D&#39;javascript:&#39;;return true;" oncli=
ck=3D"this.href=3D&#39;javascript:&#39;;return true;">[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">Sure.<div><br></div><div>Should be as simple as apt install=
 python-cherrypy.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr=
">On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann &lt;<a href=3D"javascript:=
" rel=3D"nofollow" target=3D"_blank" gdf-obfuscated-mailto=3D"pdzc6ITSAgAJ"=
 onmousedown=3D"this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"=
this.href=3D&#39;javascript:&#39;;return true;">[email protected]</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey the=
re,<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 href=3D"javascript:" rel=3D"nofollow" target=3D"_blank" gdf-obfu=
scated-mailto=3D"pdzc6ITSAgAJ" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">cherrypy-user...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href=3D"javascript:" rel=3D"nofollo=
w" target=3D"_blank" gdf-obfuscated-mailto=3D"pdzc6ITSAgAJ" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">cherryp...@googlegroups.<wbr>com</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;http=
s://groups.google.com/group/cherrypy-users&#39;;return true;" onclick=3D"th=
is.href=3D&#39;https://groups.google.com/group/cherrypy-users&#39;;return t=
rue;">https://groups.google.com/<wbr>group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;https://gro=
ups.google.com/d/optout&#39;;return true;" onclick=3D"this.href=3D&#39;http=
s://groups.google.com/d/optout&#39;;return true;">https://groups.google.com=
/d/<wbr>optout</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" targe=
t=3D"_blank" onmousedown=3D"this.href=3D&#39;http://www.google.com/url?q\x3=
dhttp%3A%2F%2Fwww.amazon.com%2FPeopleware-Productive-Projects-Teams-Second%=
2Fdp%2F0932633439\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhnhdXr8L8VXAXvpe=
AXSgo1dyCGw&#39;;return true;" onclick=3D"this.href=3D&#39;http://www.googl=
e.com/url?q\x3dhttp%3A%2F%2Fwww.amazon.com%2FPeopleware-Productive-Projects=
-Teams-Second%2Fdp%2F0932633439\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhn=
hdXr8L8VXAXvpeAXSgo1dyCGw&#39;;return true;">http://www.amazon.com/<wbr>Peo=
pleware-Productive-<wbr>Projects-Teams-Second/dp/<wbr>0932633439</a><br></d=
iv>

<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"javascript:" rel=3D"nofollow" target=3D"_blank" gdf-obfu=
scated-mailto=3D"pdzc6ITSAgAJ" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">cherrypy-user...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href=3D"javascript:" rel=3D"nofollo=
w" target=3D"_blank" gdf-obfuscated-mailto=3D"pdzc6ITSAgAJ" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">cherryp...@googlegroups.<wbr>com</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;http=
s://groups.google.com/group/cherrypy-users&#39;;return true;" onclick=3D"th=
is.href=3D&#39;https://groups.google.com/group/cherrypy-users&#39;;return t=
rue;">https://groups.google.com/<wbr>group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;https://gro=
ups.google.com/d/optout&#39;;return true;" onclick=3D"this.href=3D&#39;http=
s://groups.google.com/d/optout&#39;;return true;">https://groups.google.com=
/d/<wbr>optout</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]">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 />

------=_Part_155_456997175.1550919686872--

------=_Part_154_1409939210.1550919686872--