Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: /
Date: Fri, 29 Aug 2014 04:05:04
Message-Id: 1409284943.df3c18b4650f379bcab4e4a70bc9ef0db10f0269.dol-sen@gentoo
1 commit: df3c18b4650f379bcab4e4a70bc9ef0db10f0269
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 29 04:00:38 2014 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Fri Aug 29 04:02:23 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=df3c18b4
7
8 setup.py: Fix installation on slackware systems
9
10 Make sure it evaluates the absolute path of the file.
11 This was reported by tampakrap while trying to package it on a slackware system.
12
13 ---
14 setup.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/setup.py b/setup.py
18 index f372fe9..ae4b7c7 100755
19 --- a/setup.py
20 +++ b/setup.py
21 @@ -12,7 +12,7 @@ from glob import glob
22 import os
23 import io
24
25 -sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'pym'))
26 +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'pym'))
27
28 if ( len(sys.argv) > 2 ) and ( sys.argv[1] == "set_version" ):
29 __version__ = sys.argv[2]