Skip to content

Commit

Permalink
euscan: fix man page installation
Browse files Browse the repository at this point in the history
ref: https://bugs.gentoo.org/show_bug.cgi?id=398873

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
  • Loading branch information
iksaif committed Jan 16, 2012
1 parent 72e43ac commit 333c535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
try:
from portage.const import EPREFIX
except ImportError:
EPREFIX='/'
EPREFIX=''

# Python files that need `__version__ = ""` subbed, relative to this dir:
python_scripts = [os.path.join(cwd, path) for path in (
Expand Down Expand Up @@ -78,7 +78,7 @@ def sub(files, pattern):
package_data = {},
scripts=python_scripts,
data_files=(
(os.path.join(EPREFIX, 'usr/share/man/man1'), glob('man/*')),
(os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'usr/share/man/man1'), glob('man/*')),
),
cmdclass={
'set_version': set_version,
Expand Down

0 comments on commit 333c535

Please sign in to comment.