Re: [Distutils] Installation
Hi Vikash, On Thu, Feb 9, 2012 at 1:02 AM, vikash agrawal vikashagrawal1...@gmail.com wrote: Ok, I will try installing it tonight from tarek's, and will let you know. Also some time ago, I was trying to package it for Fedora 16 and I faced similar problem with that, pysetup not getting installed. Also @tarek, if possible Please update python-side for the package And why do I need latest cython for distutils? I would be using 2.X and not 3.X Distutils2 is included in Python 3 under the name 'packaging' which is where, I believe, most of its development is focused. The distutils2 name is used for the backport of packaging to Python 2.x as well as Python 3.x prior to the availability of packaging in the standard library. Confused yet? There are some historical reasons for all that, but the main point is that if you're interested in working on distutils2, you really want to up and running on the main Python development branch and work on *packaging*. I think that most of the work is being done there, and then backported to distutils2. This post Tarek made a while back should help you get up and running: http://tarekziade.wordpress.com/2011/06/02/help-us-ironing-packaging/ Erik [...] Also, I had previously come in contact with merwok and I would be applying in GSoC this year under PSF for distutils2 project (as I believe PSF will be under GSoC and distutils will surely be accepted), so I am writing to seek help on what all things should be my target, and how do I move ahead. Currently, I am trying to work on the ]issue 12944 but due to certain constraints things are not geared up, though I hope they would soon be :) Please guide me and drop-in all your suggestions Regards Vikash Agrawal [...] Waiting for guidance Regards Vikash Agrawal -- sent via HTC Sensation ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Installing to c:\Program Files\
On 9 February 2012 19:01, Torquil Macdonald Sørensen torq...@gmail.comwrote: Hi! Is the distutils system suited for installation of a python program to a subfolder of c:\Program Files\ ? I can generate an msi file using the bdist_msi method, but the resulting msi installer puts the files in c:\python27\lib\site-packages (or something like that). My python program basically consists of a python script, two python modules and some text files. None of this should be available to other python programs, so I want it all to be installed in a subdirectory of Program Files. This makes sense, right? The program itself is already capable to be launched from any folder. Can distutils create an msi file for my python program that does what I want? Or should I use some other tool? I want to create an installer that uses the Windows Add/Remove programs system, and hopefully allows upgrading to newer program versions without leaving multiple versions installed. Basically the answer is no, you can't use distutils to do this. Instead you should use a tool like py2exe to generate an executable for your program that bundles the Python binaries itself along with the program. You can then create an msi installer for your program using a free tool like WiX. Your bundled installers can then be installed into the standard Windows location and won't require your user to have Python installed to use your program: http://www.py2exe.org/ http://wix.sourceforge.net/ All the best, Michael Foord Thanks, Torquil Sørensen __**_ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/**mailman/listinfo/distutils-sighttp://mail.python.org/mailman/listinfo/distutils-sig -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig