[Server-devel] Install python applications in a virtualenv without, system wide packages using wheel binary package format
migonzalvar at activitycentral.com
Mon Dec 16 13:53:37 EST 2013
On Mon, Dec 16, 2013 at 6:16 PM, Braddock <braddock at braddock.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> If this can be made to work it would certainly make things easier for
> us at Internet-in-a-Box.
Quick test in XO-4 using the following script, it seems it works perfectly:
pip install --use-wheel --no-index
'backports.lzma>=0.0.2' 'SQLAlchemy>=0.8.2' 'markupsafe'
pip install Internet-in-a-Box
werkzeug -- 192.168.0.3 - - [16/Dec/2013 18:40:19] "GET /iiab/ HTTP/1.1" 200 -
I'm attaching the full log.
I plan to do more testing. I think we could use this method for latter
> Currently we have to build and distribute Fedora rpms just for XSCE,
> including for a couple third party packages which have binary
> dependencies and have proven a pain.
> We already maintain pipy pip packages and use them for all of our own
> IIAB appliance deployments.
> However, a virtualenv is not really meant as a distribution format and
> has some downsides. You will have to install the pip on every
> architecture you support, and I do not believe they are relocatable so
> they have to be in the same absolute path, and they may have system
> library dependencies which won't automatically be resolved like with RPMs.
> Given the fragility and dependency hell of the RPM method though, I
> think it is worthwhile to switch to virtualenvs.
> - -braddock
>> From: Miguel Gonz?lez <migonzalvar at activitycentral.com>
>> I want to share with you my proposed approach to install Python
>> web application in XSCE.
>> The idea is to install them into a Python virtual environment
>> isolated from the system wide packages installed.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> -----END PGP SIGNATURE-----
> Server-devel mailing list
> Server-devel at lists.laptop.org
Activity Central: http://www.activitycentral.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15284 bytes
Desc: not available
More information about the Server-devel