[ python-Bugs-977470 ] Deleted files are reinstalled

SourceForge.net noreply at sourceforge.net
Fri Jun 25 04:39:17 EDT 2004


Bugs item #977470, was opened at 2004-06-22 15:07
Message generated for change (Comment added) made by theller
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=977470&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anders J. Munch (andersjm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Deleted files are reinstalled

Initial Comment:
Python 2.3.3 on W2K

Run
   python setup.py install
then delete a .py-file from setup.py and from the
Python installation, then run
   python setup.py install
again.

Now the removed .py-file will be reinstalled -
presumably because there's still a copy in build/lib.


----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2004-06-25 10:39

Message:
Logged In: YES 
user_id=11105

You can clean before install.  Either
'python setup.py clean install'
or
'python setup.py clean -a install'
should work.

----------------------------------------------------------------------

Comment By: Anders J. Munch (andersjm)
Date: 2004-06-23 11:50

Message:
Logged In: YES 
user_id=384806

It's a bug because it bit me :-)

I had a module xml.py in a package and renamed it because
the name clash with the top-level module was creating problems. 
Having the renamed file reappear under the old name
seemingly from out of nowhere was very confusing.

I guess my mental model is that everything in the build
directory is an implementation detail.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2004-06-22 20:12

Message:
Logged In: YES 
user_id=21627

Why is that a bug? You have to remove the build directory in
that case.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=977470&group_id=5470



More information about the Python-bugs-list mailing list