pyblosxom - setup.py file/directory locations freebsd4 platform
Craig Sawyer <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
---BEGIN your pre-canned message:
Dear Pyblosxom Users,
I have platform 'freebsd4' and you told me to send you
an email with this information!
Sincerely,
Craig Sawyer
--- END
Anyways, based on your existing code, I think below is right.
Hope this helps,
Craig
The files belong in:
DATA FILES:
/usr/local/lib/python2.2/
DOCS:
/usr/local/share/examples/python2.2/
This is the code I think:
elif sys.platform in ["freebsd4"]:
pydf = []
root = "/usr/local/lib/python2.2/" + PVER + "/"
for mem in contrib_folders:
f = os.listdir(mem)
f = [mem + os.sep + m for m in f if os.path.isfile(mem
+ os.sep + m)]
pydf.append( (root + mem, f) )
# we want to move the web script files as well, so we sneak them
# in here.
web_files = [os.path.normpath("web/pyblosxom.cgi"),
os.path.normpath("web/xmlrpc.cgi"),
os.path.normpath("web/config.py")]
#/usr/local/share/examples/python2.2
pydf.append( ("/usr/share/examples/python2.2/" + PVER + "/web",
web_files) )
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/