Closed skyl closed 14 years ago
yeah, my bad, should be:
root = os.path.abspath(os.path.dirname(__file__))
I've pushed that change in.
Consider namespacing the media like this:
http://github.com/skyl/olwidget/commit/de6c29b774fcb708c1e17f89b7bf034b5acea743
that way, setup.py will work with staticfiles/pinax. Seems like the way the community is heading.
Good idea. I'm going to look at this a little more thoroughly later today.
root = os.path.dirname(file)
root == "" # for me
(pinax0.7.1-env)skyl@SCSI40:~/Code/python/src/yourcelf-olwidg$ python setup.py install Traceback (most recent call last): File "setup.py", line 8, in
os.chdir(root)
OSError: [Errno 2] No such file or directory: ''