Re: [Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread John Dewey
Not only is it interesting, it’s awesome :) John On June 23, 2016 at 5:53:59 PM, Silence Dogood (m...@nycresistor.com) wrote: I'll check out giftwrap. never heard of it. But interesting. On Thu, Jun 23, 2016 at 7:50 PM, Xav Paice wrote: > Can I suggest that using the

Re: [Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread Silence Dogood
I'll check out giftwrap. never heard of it. But interesting. On Thu, Jun 23, 2016 at 7:50 PM, Xav Paice wrote: > Can I suggest that using the tool https://github.com/openstack/giftwrap > might make live a bunch easier? > > I went down a similar path with building Debs in a

Re: [Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread Xav Paice
Can I suggest that using the tool https://github.com/openstack/giftwrap might make live a bunch easier? I went down a similar path with building Debs in a venv using dh_virtualenv, with some good success when I sorted the shebang. I later found that the debs produced by Giftwrap are not only very

Re: [Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread Matt Joyce
I want the script to dynamically instantiate the venv is call activate this at execution time and deactivate when done. On June 23, 2016 5:12:07 PM EDT, Doug Hellmann wrote: >Excerpts from Silence Dogood's message of 2016-06-23 15:45:34 -0400: >> I know from

Re: [Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread Kris G. Lindgren
When we did this within CentOS6 with the python 2.7 software collection. When nova called into nova-rootwrap, rootwrap was called without any of the software collection or venv stuff activated. So we had to move rootwrap to rootwrap-real and create a shell script that did the needful (activate

Re: [Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread Doug Hellmann
Excerpts from Silence Dogood's message of 2016-06-23 15:45:34 -0400: > I know from conversations that a few folks package their python apps as > distributable virtualenvs. spotify created dh-virtualenv for this. you > can do it pretty simply by hand. > > I built a toolchain for building rpms

[Openstack-operators] Packaging Virtualenvs

2016-06-23 Thread Silence Dogood
I know from conversations that a few folks package their python apps as distributable virtualenvs. spotify created dh-virtualenv for this. you can do it pretty simply by hand. I built a toolchain for building rpms as distributable virtualenvs and that works really well. What I'd like to do is