1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: sanitize installation paths
Forwarded: not-needed
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,7 @@ except ImportError:
from distutils.core import setup
SHARE_PATH = "share/jube"
+DOC_PATH = "share/doc/jube"
def rel_path(directory, new_root=""):
@@ -70,11 +71,11 @@ config = {'name': 'JUBE',
'packages': ['jube2','jube2.result_types','jube2.util'],
'package_data': {'jube2': ['help.txt']},
- 'data_files': ([(os.path.join(SHARE_PATH, 'docu'),
+ 'data_files': ([(DOC_PATH,
['docs/JUBE.pdf']),
- (SHARE_PATH, ['AUTHORS','LICENSE','RELEASE_NOTES'])] +
- rel_path("examples", SHARE_PATH) +
+ (DOC_PATH, ['AUTHORS','RELEASE_NOTES'])] +
+ rel_path("examples", DOC_PATH) +
rel_path("contrib", SHARE_PATH) +
- rel_path("platform", SHARE_PATH)),
+ rel_path("platform", DOC_PATH)),
'scripts': ['bin/jube', 'bin/jube-autorun'],
'long_description': (
"Automating benchmarks is important for reproducibility and "
|