Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko <[email protected]> Fri, 22 Feb 2019 23:11:52 +0100
Newsgroups gmane.comp.python.cherrypy
Message-ID <CAFYONRD7L3RatAvxnqi7bb49N9qWeE8RoSVmnO75-T1WoPmHaA@mail.gmail.com>
--000000000000a182b5058282e160
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

As long as you have that packaged correctly. We only officially support
python distribution packages but you should be able to build your own deb
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 packages
(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]=
om>
=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 Group=
s
>> "cherrypy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n
>> 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.
>>
>
>
> --
> 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/0932=
633439
>
> --
> 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.

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

<div dir=3D"auto">As long as you have that packaged correctly. We only offi=
cially support 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"a=
uto">Installing things from PyPI is not bad but you need to follow the rule=
s. 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.</div><div dir=3D"auto"><br=
></div><div dir=3D"auto">OTOH, using virtualenv is just fine. It isolates y=
our env with deps for your app and reduces any damage you may cause by inst=
alling stuff.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Here&#39;s=
 a great write-up on why you should use it: <a href=3D"https://hynek.me/art=
icles/virtualenv-lives/">https://hynek.me/articles/virtualenv-lives/</a></d=
iv><div dir=3D"auto"><br><br><div data-smartmail=3D"gmail_signature" dir=3D=
"auto">--Sviatoslav.<br><br>Sent from my phone, please pardon any typos.</d=
iv></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">=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=
"mailto:[email protected]">[email protected]</a>&gt; =D0=BF=
=D0=B8=D1=88=D0=B5:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin: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-cherry=
py.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann &lt;<a href=3D"mail=
to:[email protected]" target=3D"_blank" rel=3D"noreferrer">marius.wi=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-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 href=3D"mailto:cherrypy-users%2Bunsubscribe-/[email protected]" ta=
rget=3D"_blank" rel=3D"noreferrer">cherrypy-users+unsubscribe@googlegroups.=
com</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" rel=3D"noreferrer noreferrer" target=3D"_blank">https://groups.google.c=
om/group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://groups.google.com/d/op=
tout</a>.<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"m_-5761694809262424405gmail_signature">Ahh... We are all heroes; =
you and Boo and I.<br>Hamsters and rangers everywhere, rejoice!<br>Read Peo=
pleware! <a href=3D"http://www.amazon.com/Peopleware-Productive-Projects-Te=
ams-Second/dp/0932633439" target=3D"_blank" rel=3D"noreferrer">http://www.a=
mazon.com/Peopleware-Productive-Projects-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 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 />

--000000000000a182b5058282e160--