commit: df3c18b4650f379bcab4e4a70bc9ef0db10f0269
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 29 04:00:38 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Aug 29 04:02:23 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=df3c18b4
setup.py: Fix installation on slackware systems
Make sure it evaluates the absolute path of the file.
This was reported by tampakrap while trying to package it on a slackware system.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index f372fe9..ae4b7c7 100755
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ from glob import glob
import os
import io
-sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'pym'))
+sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)),
'pym'))
if ( len(sys.argv) > 2 ) and ( sys.argv[1] == "set_version" ):
__version__ = sys.argv[2]