[Distutils] Fwd: [Remind-Fans] wxRemind - new release

Phillip J. Eby pje at telecommunity.com
Sat May 20 17:29:08 CEST 2006


At 11:06 PM 5/20/2006 +0800, Bruce Wang wrote:
>Here is some questions from Daniel Graham (the author of 
>wxRemind),   maybe someone on this list could answer :)
>
>---------- Forwarded message ----------
>From: Daniel Graham <<mailto:daniel.graham at duke.edu>daniel.graham at duke.edu>
>Date: May 20, 2006 2:36 AM
>Subject: Re: [Remind-Fans] wxRemind - new release
>To: Users of the REMIND system <<mailto:remind-fans at whatexit.org> 
>remind-fans at whatexit.org>
>
>Bruce,
>
>Thanks for the suggestions and the links.  I had fooled around with
>distutils and nearly went crazy. My experience with setuptools and
>easy_install was much more pleasant. I've thus added setup.py to the
>package but left INSTALL so there are now three installation
>alternatives: './INSTALL', 'python setup.py' and 'easy_install
>wxRemind'. All are documented in the README and the home page at:
>
> 
><http://www.duke.edu/~dgraham/wxRemind>http://www.duke.edu/~dgraham/wxRemind
>
>I've also registered wxRemind at PyPI.
>
>Still, the "egg" is not all that I wished:
>
>     1) I could never get the dependencies to work right. Even though
>     wxPython <http://2.6.3.2>2.6.3.2 is registered, easy_install would 
> complain
>     about not being able to satisfy wxPython>=2.6.1.

That's because the wxPython distribution files are improperly named; the 
source file for wxPython 2.6.3.2 is named 'wxPython-src-2.6.3.2.tar.gz' 
(instead of the distutils-standard 'wxPython-2.6.3.2.tar.gz'), so 
easy_install thinks this is a project named 'wxPython' with version 
'src-2.6.3.2'.  You would need to make the dependency 'wxpython>=src-2.6.1' 
in order for it to work, or gripe at the wxPython folks to fix their 
filenames.  :)

Unfortunately, some popular packages that pre-date the distutils (or 
largely replace the distutils with custom machinery) do not distribute 
packages that follow distutils naming conventions, or else they register 
their packages under a different name than the package is actually produced 
with.


>   No problem
>     satifying Python>=2.3, on the other hand, but easy_install would
>     then identify 2.4 as 'better' and try to install that. I
>     ended up dropping both requirements.

Python isn't a distutils package, so don't try to depend on it.  In any 
case setuptools only works with Python 2.3 and above, so nobody with Python 
2.2 is going to be running easy_install.  :)


>     2) It is still necessary to download FLOAT and WXREMINDRC since
>     I couldn't figure out a way to make them accessable in the egg.

I don't know what this means, so I can't help without more details.



More information about the Distutils-SIG mailing list