[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] deleting old files with distutils?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] deleting old files with distutils?
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Sun, 22 Feb 2009 09:05:19 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 21 Feb 2009 17:05:22 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=oshHG/roQGjLtoIqASZSSrTjoAYf2kvIbWREqvs0IIk=; b=oLjVjJ0OUHoO0DoyYVXy9anHpHS6cNUmupQKJh5lOEgwmWlt1VnP2VDsXggRrB36TK RNdo/3PiNe2iv+8Omvz/CGIi/SoD9lCn+ekZsg4nH9FvuLeWvLycq8d7ZNRMC73oJElv ZCBGMeT5PjPcp7o7+REBdQii1wOmqST5X6lBM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=cRjezkMBhS3Nrr+S2OMYrExyrQvB7J8giNFBsdO9Eyrdm82wvWtkwc0mjmb7jnsJRC 5X6b4GcrKhgtEaqkDg3psblRSaDsTVrvLLMKYxZMl0ZdW2MmWxsRsHikxac3726KPeOt UZLxpmmyCqf/oMx6hT5+ARU6yjhnqpixUnrL8=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
hey,
with the camera.so now being _camera.so and camera.py being included,
I would like to make sure camera.so and camera.pyd are deleted from
the installed place. Otherwise python looks at .so and .pyd files
over .py files, and badness happens.
Does distutils allow doing this? It seems to just copy over the top usually.
Failing that, I'd like to make sure the .py file is imported, rather
than the .so or .pyd.