Bugs item #1566719, was opened at 2006-09-27 21:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1566719&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: James Oakley (jfunk)
Assigned to: Nobody/Anonymous (nobody)
Summary: site-packages isn't created before install_egg_info
Initial Comment:
install_egg_info is called without creating the site-packages
directory when only a script is specified. This can break
RPM builds since the site-packages directory isn't present
beforehand.
Here's an setup.py that causes this problem::
from distutils.core import setup
setup(name='dot2tex',
version='1.0.1',
description = 'A Graphviz to LaTeX converter',
author = 'Kjell Magne Fauske',
author_email = '[EMAIL PROTECTED]',
url = "http://www.fauskes.net/code/dot2tex/",
download_url
= "http://www.fauskes.net/code/dot2tex/download/",
scripts=['dot2tex/dot2tex.py']
)
Here's the build output::
+ python setup.py
install --prefix=/usr --root=/var/tmp/dot2tex-buildroot --record=INSTALLED_FILES
running install
running build
running build_scripts
running install_scripts
creating /var/tmp/dot2tex-buildroot
creating /var/tmp/dot2tex-buildroot/usr
creating /var/tmp/dot2tex-buildroot/usr/bin
copying
build/scripts-2.5/dot2tex.py -> /var/tmp/dot2tex-buildroot/usr/bin
changing mode
of /var/tmp/dot2tex-buildroot/usr/bin/dot2tex.py to 755
running install_egg_info
Writing
/var/tmp/dot2tex-buildroot/usr/lib64/python2.5/site-packages/dot2tex-1.0.1-py2.5.egg-info
error:
/var/tmp/dot2tex-buildroot/usr/lib64/python2.5/site-packages/dot2tex-1.0.1-py2.5.egg-info:
No such file or directory
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1566719&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com