Bugs item #1566719, was opened at 2006-09-27 17:34
Message generated for change (Comment added) made by sf-robot
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: Closed
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
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2006-10-14 19:20
Message:
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2006-09-27 20:26
Message:
Logged In: YES
user_id=21627
How can there not be a site-packages directory? It is
created with the installation of Python itself, so it is
always there.
----------------------------------------------------------------------
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