Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Creating a custom python python distribution

Reply
Thread Tools

Creating a custom python python distribution

 
 
shailesh
Guest
Posts: n/a
 
      10-01-2007
Hi,
I wish to create a Python distribution includind Python and some other
libraries (Zope 3, PyWin32, numpy, lxml, etc.) which are required for
my applications. e.g. there are Enthough and ASPN distributions of
Python.

Unfortunately, I have not been able to find the right documentation
for this purpose.

Could some one give an overview of what needs to be done for this
purpose?

With regards,
-Shailesh

 
Reply With Quote
 
 
 
 
kyosohma@gmail.com
Guest
Posts: n/a
 
      10-02-2007
On Sep 30, 10:18 pm, shailesh <shaile...@gmail.com> wrote:
> Hi,
> I wish to create a Python distribution includind Python and some other
> libraries (Zope 3, PyWin32, numpy, lxml, etc.) which are required for
> my applications. e.g. there are Enthough and ASPN distributions of
> Python.
>
> Unfortunately, I have not been able to find the right documentation
> for this purpose.
>
> Could some one give an overview of what needs to be done for this
> purpose?
>
> With regards,
> -Shailesh


Are you wanting to create an executable or what? There are a few
different ways to distribute your work. You can use py2exe, GUI2exe (a
py2exe wrapper), PyInstaller, Distutils or Python Eggs.

Here are some links:

http://pyinstaller.python-hosting.com/
http://www.py2exe.org/
http://xoomer.alice.it/infinity77/main/GUI2Exe.html
http://docs.python.org/dist/dist.html
http://peak.telecommunity.com/DevCenter/PythonEggs

That should get you started.

Mike

 
Reply With Quote
 
 
 
 
Wildemar Wildenburger
Guest
Posts: n/a
 
      10-02-2007
shailesh wrote:
> Hi,
> I wish to create a Python distribution includind Python and some other
> libraries (Zope 3, PyWin32, numpy, lxml, etc.) which are required for
> my applications. e.g. there are Enthough and ASPN distributions of
> Python.
>
> Unfortunately, I have not been able to find the right documentation
> for this purpose.
>
> Could some one give an overview of what needs to be done for this
> purpose?
>

I can guess, nothing more.

You could use Inno Setup (windows guy?)
<URL:http://www.jrsoftware.org/isinfo.php> to install python and then
automatically all additional libs.

And that is a general idea ... just automate the installing of all libs.
It may even boil down to just copying the additional files to the
site-packages directory.

I don't know, but some experimentation should get you long way. It
shouldn't be very hard.

/W
 
Reply With Quote
 
azrael
Guest
Posts: n/a
 
      10-02-2007
Maybe you should check the Slax distro. Go to www.slax.org.
There is one special slax distro caled Frodo. I think that it includes
nearly nothing but the core.
There are also several packages for the distro that you can put inside
the distro and create your own distribution. There are also detailed
instructions. This way you can create a Live distro, but there are
also instruction on how to install it on the HDD.

If I understood your question then I guess that this should be the
answer.

best regards

 
Reply With Quote
 
shailesh
Guest
Posts: n/a
 
      10-13-2007
Thanx a lot for all the pointers. I will certainly check into them.

I actually wanted to know how do people create their own Python
distribution like ASPN's Python or Enthought's Python.

With regards,
- Shailesh


On Oct 2, 12:33 pm, azrael <jura.gro...@gmail.com> wrote:
> Maybe you should check the Slax distro. Go towww.slax.org.
> There is one special slax distro caled Frodo. I think that it includes
> nearly nothing but the core.
> There are also several packages for the distro that you can put inside
> the distro and create your own distribution. There are also detailed
> instructions. This way you can create a Live distro, but there are
> also instruction on how to install it on the HDD.
>
> If I understood your question then I guess that this should be the
> answer.
>
> best regards



 
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
Creating a binary only python distribution of a C extension moduleand including some additional python and c files in it akhilesh singhania Python 0 01-01-2012 12:42 PM
Creating a binary only python distribution of a C extension moduleand including some additional python and c files in it akhilesh singhania Python 0 12-30-2011 05:27 PM



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