[Distutils] setuptools script installation in Mac OS

Ned Deily nad at acm.org
Wed Oct 15 06:58:33 CEST 2014


In article <543CEEDA.90905 at chamonix.reportlab.co.uk>,
 Robin Becker <robin at reportlab.com> wrote:
> I have a setuptools based setup.py that contains this 
> >         entry_points = dict(
> >                             console_scripts = [
> >                                 'rml2pdf=rlextra.rml2pdf.rml2pdf:main',
> >                                 
> >                               'pageCatcher=rlextra.pageCatcher.pageCatcher:s
> >                               criptInterp',
> >                                 
> >                               'pdfexplorer=rlextra.pageCatcher.pdfexplorer:t
> >                               est',
> >                                 ],
> >                             gui_scripts = [
> >                                 
> >                               'diagra=rlextra.graphics.guiedit.guiedit:mainA
> >                               pp',
> >                                 ],
> >                             ),
> 
> this appears to work OK  and creates all 4 scripts in Windows, Linux & Mac 
> OS, 
> however, when uninstalling or upgrading I get an error for Mac OS when 
> instead 
> of trying to remove a pageCatcher script it tries instead to remove 
> pagecatcher.
[...]
> > IOError: [Errno 2] No such file or directory: 
> > '/Users/rptlab/tmp/ttt/bin/pagecatcher'
> >
> > Storing debug log for failure in /Users/rptlab/.pip/pip.log
> this is with pip 1.5.2 & python 2.7.6 in Darwin 10.8.0 and other later Macs. 
> Is this just a case issue?

My guess it that it is just a case issue, since OS X file systems are 
often (but not always) case insensitive.  Suggest you open an issue 
about it on the pip issue tracker:

https://github.com/pypa/pip/issues

-- 
 Ned Deily,
 nad at acm.org



More information about the Distutils-SIG mailing list