Lines 21-27
Link Here
|
21 |
try: |
21 |
try: |
22 |
from portage.const import EPREFIX |
22 |
from portage.const import EPREFIX |
23 |
except ImportError: |
23 |
except ImportError: |
24 |
EPREFIX='/' |
24 |
EPREFIX='' |
25 |
|
25 |
|
26 |
# Python files that need `__version__ = ""` subbed, relative to this dir: |
26 |
# Python files that need `__version__ = ""` subbed, relative to this dir: |
27 |
python_scripts = [os.path.join(cwd, path) for path in ( |
27 |
python_scripts = [os.path.join(cwd, path) for path in ( |
Lines 78-84
Link Here
|
78 |
package_data = {}, |
78 |
package_data = {}, |
79 |
scripts=python_scripts, |
79 |
scripts=python_scripts, |
80 |
data_files=( |
80 |
data_files=( |
81 |
(os.path.join(EPREFIX, 'usr/share/man/man1'), glob('man/*')), |
81 |
(os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'usr/share/man/man1'), glob('man/*')), |
82 |
), |
82 |
), |
83 |
cmdclass={ |
83 |
cmdclass={ |
84 |
'set_version': set_version, |
84 |
'set_version': set_version, |