Cherrypy in Ubuntu with apt install

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Cherrypy in Ubuntu with apt install

Marius Widmann
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Andrew Maizels
Sure.

Should be as simple as apt install python-cherrypy.

On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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/0932633439

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko-2
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.

пт, 22 лют. 2019, 19:23 користувач Andrew Maizels <[hidden email]> пише:
Sure.

Should be as simple as apt install python-cherrypy.

On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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/0932633439

--
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Marius Widmann
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 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: <a href="https://hynek.me/articles/virtualenv-lives/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fhynek.me%2Farticles%2Fvirtualenv-lives%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOOMNHgsiBGtxOk8IZ9wBQpad7xw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fhynek.me%2Farticles%2Fvirtualenv-lives%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOOMNHgsiBGtxOk8IZ9wBQpad7xw&#39;;return true;">https://hynek.me/articles/virtualenv-lives/


--Sviatoslav.

Sent from my phone, please pardon any typos.

пт, 22 лют. 2019, 19:23 користувач Andrew Maizels <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pdzc6ITSAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">andrew....@...> пише:
Sure.

Should be as simple as apt install python-cherrypy.

On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <<a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="pdzc6ITSAgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">marius....@...> 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 <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="pdzc6ITSAgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherrypy-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="pdzc6ITSAgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherryp...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/cherrypy-users" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;">https://groups.google.com/group/cherrypy-users.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Ahh... We are all heroes; you and Boo and I.
Hamsters and rangers everywhere, rejoice!
Read Peopleware! <a href="http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/0932633439" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.amazon.com%2FPeopleware-Productive-Projects-Teams-Second%2Fdp%2F0932633439\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhnhdXr8L8VXAXvpeAXSgo1dyCGw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.amazon.com%2FPeopleware-Productive-Projects-Teams-Second%2Fdp%2F0932633439\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhnhdXr8L8VXAXvpeAXSgo1dyCGw&#39;;return true;">http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/0932633439

--
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 <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="pdzc6ITSAgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherrypy-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="pdzc6ITSAgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherryp...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/cherrypy-users" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;">https://groups.google.com/group/cherrypy-users.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Marius Widmann
In reply to this post by Andrew Maizels
apt install python-cherrypy works only for python 2...

On Friday, February 22, 2019 at 7:23:05 PM UTC+1, Pixy Misa wrote:
Sure.

Should be as simple as apt install python-cherrypy.

On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LFIaEAXGAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">marius....@...> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="LFIaEAXGAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherrypy-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="LFIaEAXGAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherryp...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/cherrypy-users" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;">https://groups.google.com/group/cherrypy-users.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Ahh... We are all heroes; you and Boo and I.
Hamsters and rangers everywhere, rejoice!
Read Peopleware! <a href="http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/0932633439" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.amazon.com%2FPeopleware-Productive-Projects-Teams-Second%2Fdp%2F0932633439\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhnhdXr8L8VXAXvpeAXSgo1dyCGw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.amazon.com%2FPeopleware-Productive-Projects-Teams-Second%2Fdp%2F0932633439\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhnhdXr8L8VXAXvpeAXSgo1dyCGw&#39;;return true;">http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/0932633439

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Marius Widmann
In reply to this post by Marius Widmann
Can anyone point me out the exact steps to produce a package of cherrypy?

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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko-2
In reply to this post by Marius Widmann
deb packaging traditions assume that the name should be different:

apt install python3-cherrypy 

(if it exists)


--Sviatoslav.

Sent from my phone, please pardon any typos.

нд, 24 лют. 2019, 09:52 користувач Marius Widmann <[hidden email]> пише:
apt install python-cherrypy works only for python 2...

On Friday, February 22, 2019 at 7:23:05 PM UTC+1, Pixy Misa wrote:
Sure.

Should be as simple as apt install python-cherrypy.

On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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/0932633439

--
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko-2
In reply to this post by Marius Widmann
On PyPI, versions >=18 are Python 3 only.
Older versions <18 support both Python 2&3

--Sviatoslav.

Sent from my phone, please pardon any typos.

нд, 24 лют. 2019, 09:52 користувач Marius Widmann <[hidden email]> пише:
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 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.

пт, 22 лют. 2019, 19:23 користувач Andrew Maizels <[hidden email]> пише:
Sure.

Should be as simple as apt install python-cherrypy.

On Sat, Feb 23, 2019 at 5:18 AM Marius Widmann <[hidden email]> 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 [hidden email].
To post to this group, send email to [hidden email].
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/0932633439

--
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko-2
In reply to this post by Marius Widmann
You mean deb package? It should be in Ubuntu docs packaging guides probably 

--Sviatoslav.

Sent from my phone, please pardon any typos.

нд, 24 лют. 2019, 09:52 користувач Marius Widmann <[hidden email]> пише:
Can anyone point me out the exact steps to produce a package of cherrypy?

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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Marius Widmann
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.

нд, 24 лют. 2019, 09:52 користувач Marius Widmann <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="3irqgGJEAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">marius....@...> пише:
Can anyone point me out the exact steps to produce a package of cherrypy?

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 <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="3irqgGJEAwAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherrypy-user...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="3irqgGJEAwAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherryp...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/cherrypy-users" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;">https://groups.google.com/group/cherrypy-users.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Sviatoslav Sydorenko-2
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.

нд, 24 лют. 2019, 14:30 користувач Marius Widmann <[hidden email]> пише:
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.

нд, 24 лют. 2019, 09:52 користувач Marius Widmann <[hidden email]> пише:
Can anyone point me out the exact steps to produce a package of cherrypy?

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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Marius Widmann
Thank you. I used a virtualenv

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cherrypy in Ubuntu with apt install

Marius Widmann
The solution on Ubuntu 16.04 with python3 (Python 3.5.2):

#Install virtualenvironment for python3
sudo apt-get install python3-venv

#Create a folder for your environment
mkdir environment

#Create the environment
python3 -m venv environment

#Change into folder
cd environment/bin

#Activate environment
source activate

#Install pip within the env
apt install python3-pip

#Install cherrypy >= 18.1.0
pip3 install cherrypy

#Run program
python3 ./my_python_script.py



On Monday, February 25, 2019 at 6:44:57 PM UTC+1, Marius Widmann wrote:
Thank you. I used a virtualenv

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.