Roundup Tracker - Issues

Issue 1593573

classification
distutils bdist fails
Type: Severity: normal
Components: None Versions:
process
Status: closed fixed
:
: : richard
Priority: normal :

Created on 2006-11-09 16:38 by anonymous, last changed 2006-11-10 03:27 by richard.

Messages
msg2341 Author: [hidden] (anonymous) Date: 2006-11-09 16:38
Contact: Will Maier <willmaier@ml1.net>

I'm working on a port of roundup 1.3.0 to OpenBSD, and
noticed a small issue with setup.py.

$ python setup.py bdist
[...]
running install_data
creating build/bdist.openbsd-4.0-i386/dumb/usr/local/share
creating
build/bdist.openbsd-4.0-i386/dumb/usr/local/share/roundup
creating
build/bdist.openbsd-4.0-i386/dumb/usr/local/share/roundup/cgi-bin
error: can't copy 'cgi-bin/roundup.cgi': doesn't exist
or not a regular file

The fix is trivial:

--- setup.py.orig       Thu Nov  9 10:28:05 2006
+++ setup.py    Thu Nov  9 10:28:16 2006
@@ -300,7 +300,7 @@ def main():
         'roundup.scripts',
     ]
     installdatafiles = [
-        ('share/roundup/cgi-bin',
['cgi-bin/roundup.cgi']),
+        ('share/roundup/cgi-bin',
['frontends/roundup.cgi']),
     ]
     py_modules = ['roundup.demo',]
 
I'm not sure how sf handles text, so I've made the
patch available via HTTP, too:

http://lass.lfod.us/~will/roundup-setup_py.diff

Thanks!
msg2342 Author: [hidden] (richard) Date: 2006-11-10 03:27
Logged In: YES 
user_id=6405

Thanks, fixed in CVS.
History
Date User Action Args
2006-11-09 16:38:39anonymouscreate