473,507 Members | 2,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

setup.py vs autoconf install/uninstall,

In making a release of the recent changes to pdb.py announce here:
http://groups.google.com/group/comp....d9f8fef9693e58
I tried using setup.py.

I think it's great that setup.py tries to obviate the need for "Make"
by just doing everything. (In contrast to Perl's MakeMaker). But alas
the problems I was running into was setup.py not doing enough (for
just Python).

Here were the problems I ran into. Perhaps someone will be able to
enlighten me.

1. I didn't find a way to uninstall a package.

2. No overwrite install. When I tried to install a newer version of
the pydb.py, setup.py didn't write over the old file even though
the files were different and the time on the file installed over
was older. I'm assuming it uses the version parameter in the setup
call only. This isn't helpful in testing between release numbers.

3. How to get pydb.doc and pydb.py in the same directory? As python
2.2.4 is currently distributed, pdb.doc seems to want to be in the
same directory as pdb.py. A little weird, but that's the way it is.

After reading docs and trying various things I gave up. (At least for
now). I was then pleasantly surprised to find that automake comes
with macros for Python! (It doesn't have them for Perl.) But lest I
get too elated, in trying one these out, I see that automake had a
different notion of where to install python scripts than python
uses. But no matter since autotools are sufficiently general (however
ugly), I was able to patch around it as I've done so so many times.

And again we have the same thing as was a concern about debuggers:
there are so many configuration tools, only 3 mentioned above. Sigh.


Jan 12 '06 #1
0 1409

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3237
by: Alia Khouri | last post by:
If the cannonical way to install a python app is python setup.py install one would expect the following to uninstall it python setup.py uninstall However, distutils doesn't automatically...
1
1028
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
4
2612
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
5
2663
by: George | last post by:
VB.net 2003 standard, XP windows home edition. Installed first application OK today. When I removed the application via Control Panel, there were no problems and the app folders were deleted. ...
2
1773
by: karthikeyan.rsm | last post by:
Hi i some queries in teh setup and deployment package. Currently i have developed a project and i have created a setup for this project in the same solution. My queries are as follows 1. In...
0
2092
by: JM | last post by:
Hi Everybody, I have created a setup project in Visual Studio .NET 2005. The setup is for Windows application. It works fine but I am unable to do somethings is this: 1. The setup uses couple...
0
4412
by: Tom | last post by:
I've been trying to install the PECL library libssh2 for secure shell2 functions. I'm on a shared webhost which allows custom php installations that run as a CGI binary. I've been trying to...
1
6570
by: Tom | last post by:
I'm trying to install the Fileinfo extensions from a PECL library called "fileinfo". The install fails because autoconf cannot be found. I have a custom installation of autoconf running out of my...
1
2516
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.