#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    I've built python from source - now how do I build the install kit?


    For various reasons, I built python from source. There are a number of things I might mention (meaning that I had to figure out for myself) but for now I'll post just one.

    I found that I needed to 'surround' the cpython directory that one gets from mercurial with all of the following:

    Code:
    C:\Projects\python\build>dir
     Volume in drive C has no label.
     Volume Serial Number is 2851-B1A7
    
     Directory of C:\Projects\python\build
    
    11/07/2012  10:23 AM    <DIR>          .
    11/07/2012  10:23 AM    <DIR>          ..
    11/01/2012  05:29 PM    <DIR>          bzip2-1.0.6
    11/03/2012  12:39 PM    <DIR>          cpython
    11/01/2012  07:39 PM    <DIR>          db-4.7.25.0
    11/01/2012  10:01 PM    <DIR>          openssl-0.9.8x
    11/01/2012  05:22 PM    <DIR>          sqlite-3.6.21
    11/02/2012  08:06 AM    <DIR>          tcl
    11/01/2012  10:44 PM    <DIR>          tcltk
                   0 File(s)              0 bytes
                  10 Dir(s)  189,960,413,184 bytes free
    
    C:\Projects\python\build>
    As you see from the above I've built on Windows (7) and it was the python 2.7.3 branch that I pulled from mercurial.

    The build leaves you with a directory bdist_wininst. This is the directory that one should be able to build an install kit from but even having looked extensively around the web, it's not clear to me how to build it? And I'd prefer a .zip over a .msi

    Various places say you should do something like

    python setup.py bdist_wininst

    however I don't find a setup.py that corresponds.

    Posted on the #python-dev IRC channel several days ago - no response.
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,995
    Rep Power
    481
    Perhaps you should ask at www.python.org ?
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    2
    Rep Power
    0

    www.python.org


    I believe I checked it thoroughly but I couldn't find a forum or message boards or whatever at python.org. Which surprised me.

    Somewhere in the documentation for the python source it said to use the #python-dev IRC channel which I did but no one responded.
  6. #4
  7. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,995
    Rep Power
    481
    maybe if you submit a bug at
    bugs.python.org
    you'll find someone to help.

    I don't know if the bug is any more than
    "bad documentation". The point is to find someone who can help.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo