Re: Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko <[email protected]> Sun, 24 Feb 2019 16:08:31 +0100
Newsgroups gmane.comp.python.cherrypy
Message-ID <CAFYONRD8ZLhxEkdD-Bi2Vu+uP5GZxvRwzXxJKMqrFgjqSt5WXw@mail.gmail.com>
--0000000000003a6b1a0582a533da
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Yeah, that is expected. Their release cycle is way longer than ours +
somebody would have to maintain such deb package and keep it up-to-date.

So anyway you have to either wrap it yourself or use virtualenv which I
recommend. For deb package you'd need to also make sure you have all proper
dependencies packaged/available.

If you go for virtualenv, I recommend you having a constraints file which
you can enforce using `pip install -c constraints.txt`. Make sure to add
dist hashes to that file. You can generate that using pip-tools.
Oh and to have a reproducible deployment use smth like Ansible.

Another way to isolate your app env is to use docker, you may want to
consider using it.


--Sviatoslav.

Sent from my phone, please pardon any typos.

=D0=BD=D0=B4, 24 =D0=BB=D1=8E=D1=82. 2019, 14:30 =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:

> Unfortunately there is no up-to-date cherrpy package for Ubuntu...
>
> On Sunday, February 24, 2019 at 9:58:45 AM UTC+1, Sviatoslav Sydorenko
> (@webknjaz) wrote:
>>
>> You mean deb package? It should be in Ubuntu docs packaging guides
>> probably
>>
>> --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]=
m>
>> =D0=BF=D0=B8=D1=88=D0=B5:
>>
>>> Can anyone point me out the exact steps to produce a package of cherryp=
y?
>>>
>>> On Friday, February 22, 2019 at 7:18:03 PM UTC+1, Marius Widmann 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.
>>>
>> --
> 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.

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

<div dir=3D"auto">Yeah, that is expected. Their release cycle is way longer=
 than ours + somebody would have to maintain such deb package and keep it u=
p-to-date.<div dir=3D"auto"><br></div><div dir=3D"auto">So anyway you have =
to either wrap it yourself or use virtualenv which I recommend. For deb pac=
kage you&#39;d need to also make sure you have all proper dependencies pack=
aged/available.</div><div dir=3D"auto"><br></div><div dir=3D"auto">If you g=
o for virtualenv, I recommend you having a constraints file which you can e=
nforce using `pip install -c constraints.txt`. Make sure to add dist hashes=
 to that file. You can generate that using pip-tools.</div><div dir=3D"auto=
">Oh and to have a reproducible deployment use smth like Ansible.</div><div=
 dir=3D"auto"><br></div><div dir=3D"auto">Another way to isolate your app e=
nv is to use docker, you may want to consider using it.<br><br><br><div dat=
a-smartmail=3D"gmail_signature" dir=3D"auto">--Sviatoslav.<br><br>Sent from=
 my phone, please pardon any typos.</div></div></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">=D0=BD=D0=B4, 24 =D0=BB=D1=
=8E=D1=82. 2019, 14:30 =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]">ma=
[email protected]</a>&gt; =D0=BF=D0=B8=D1=88=D0=B5:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div dir=3D"ltr">Unfortunately there is no up-to-date=
 cherrpy package for Ubuntu...<br><br>On Sunday, February 24, 2019 at 9:58:=
45 AM UTC+1, Sviatoslav Sydorenko (@webknjaz) wrote:<blockquote class=3D"gm=
ail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><div dir=3D"auto">You mean deb package? It should be in Ub=
untu docs packaging guides probably=C2=A0<br><br><div>--Sviatoslav.<br><br>=
Sent from my phone, please pardon any typos.</div></div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr">=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 Widm=
ann &lt;<a rel=3D"nofollow noreferrer">[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=
">Can anyone point me out the exact steps to produce a package of cherrypy?=
<br><br>On Friday, February 22, 2019 at 7:18:03 PM UTC+1, Marius Widmann wr=
ote:<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;b=
order-left:1px #ccc solid;padding-left:1ex">Hey there,
<br>
<br>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 produ=
ction server running ubuntu 16.04. He says something wrong with anything bu=
t apt install...
<br>
<br>Is there a way to install cherrypy for ubuntu 16.04 via apt ?
<br>
<br>Thanks a lot</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 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 />

--0000000000003a6b1a0582a533da--