[Distutils] Can Distutils handle this ?

Benedikt.Naessens at niko.be Benedikt.Naessens at niko.be
Fri Dec 12 11:13:10 CET 2008


Ok,

Maybe I will make the question shorter : is distutils the right tool for
the problems described below ? Or should I rather use a tool like
InnoSetup or a Windows installer (made in .NET) ?

Benedikt Naessens.

I want to make a Windows installer - using distutils - for the Python
code I have made so far. Related to this, I have some questions about
the "best way" to do this. The project is a test platform that should be
used for internal use in our company. 

What are my problems ? 
* I am using Nose, PyQt etc. : how do I make sure that these packages
are installed with my installer ? The main problem is here that most of
the PC's in the company are behind a firewall that not allows them to
download these packages from the internet (internet browsers are handled
by a remote desktop) 
* Maybe related to the previous issue : I have written a plugin for
Nose; this plugin needs to be "registered" with Nose (manually I do this
with easy_install); can I do this also with distutils ? 
* I am also using SWIG for some code written in C++. I have already read
the documentation of distutils where they advise me to build my code
with distutils. Problem is that this C++ project is already rather large
and that the .pyd is already generated (so I'd rather would not like to
declare all my .i and .cpp files in a setup.py file). Do I have to
include the generated .pyd, .lib and .py as "package data" into setup.py
or are there better ways ? 

Maybe this sounds trivial to a lot of you, but as I am using Python for
1.5 months, I'd like to have some help from specialists ... 
Thanks in advance ! 

Benedikt Naessens. 



Disclaimer
This e-mail and its attachments is intended only for the person(s) or entity to which it is addressed. If you receive this e-mail by mistake, please delete this e-mail from your system and destroy all copies of it.
It may contain confidential and/or privileged information. You should not copy it or use it for any purpose nor disclose its contents to any person unless allowed by a written document between the sender and the addressee. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20081212/1e94f374/attachment.htm>


More information about the Distutils-SIG mailing list