Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Embedding vs Configuring Python build

Reply
Thread Tools

Embedding vs Configuring Python build

 
 
hvendelbo.dev@googlemail.com
Guest
Posts: n/a
 
      03-05-2008
I am using Python in an application that cannot depend on an existing
Python installation or require Python to
be installed. The application itself should not have an install
procedure, but rather should be runnable from any
location in the file system.

Ideally I would prefer not to embed at all, but would rather prefer to
configure. I found a couple of discussions on the
default sys.path in the archive and am currently reading through the
Py_GetPath. The path logic seems pretty specific to the platform,
whereas I would want it to be relative regardless of platform. I
figure that if I can just get to
my own site.py/sitecustomize.py then I'm in business.

This is what I wan't to achieve:

* The python executable location should be used to determine dynamic
libraries
* The python exe location should be used to determine standard library
scripts
* site.py should be executed rather than the shell if no parameters
are specified

Is it possible to change the build configuration of Python to support
this.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
build now requires Python exist before the build starts Toon Knapen Python 2 05-17-2006 07:11 AM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
Re: Embedding Python at the OS level - build problems [success] Phil Frost Python 1 05-26-2004 11:59 PM
Embedding Python at the OS level - build problems Phil Frost Python 3 05-26-2004 06:24 AM
Python 2.3.3 : Win32 build vs Cygwin build performance ? Nicolas Lehuen Python 3 01-28-2004 07:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57