Creating offline Python package with native libs?
5 posts
• Page 1 of 1
Creating offline Python package with native libs?
Hi,
I'm test-driving Zoo for our IIS deployment, and very like what I see.
The performance on 2012 is especially one of the strong points, you've done a great job!
As we will need to install to servers closed to Internet, I've read the offline packages guide, and while all clear, I have a question standing:
In the event we need native libs (Pillow, pycrypto, pyodbc, etc...), how it's possible to package them to offline installation as well?
Regards.
I'm test-driving Zoo for our IIS deployment, and very like what I see.
The performance on 2012 is especially one of the strong points, you've done a great job!
As we will need to install to servers closed to Internet, I've read the offline packages guide, and while all clear, I have a question standing:
In the event we need native libs (Pillow, pycrypto, pyodbc, etc...), how it's possible to package them to offline installation as well?
Regards.
Re: Creating offline Python package with native libs?
Hello!
The easiest way to add native modules to your app is to install them (or simply copy them) directly into virtualenv located in the app in developer environment and then commit it. When the app is deployed in production, it will already have virtualenv with all necessary dependencies.
Offline installation can be used for products added into Web Platform Installed feed only.
Thank you.
The easiest way to add native modules to your app is to install them (or simply copy them) directly into virtualenv located in the app in developer environment and then commit it. When the app is deployed in production, it will already have virtualenv with all necessary dependencies.
Offline installation can be used for products added into Web Platform Installed feed only.
Thank you.
Re: Creating offline Python package with native libs?
So the best way is to install them right into the virtual environment, and then export the whole site?
Then on host with Python hosted package, it will work out of box?
Then on host with Python hosted package, it will work out of box?
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests