Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
475b2604
Commit
475b2604
authored
8 years ago
by
Simon Désaulniers
Browse files
Options
Downloads
Patches
Plain Diff
cmake: pass $DESTDIR environnement var to setup.py
parent
9e461e09
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/CMakeLists.txt
+1
-1
1 addition, 1 deletion
python/CMakeLists.txt
python/setup.py.in
+1
-1
1 addition, 1 deletion
python/setup.py.in
with
2 additions
and
2 deletions
python/CMakeLists.txt
+
1
−
1
View file @
475b2604
...
...
@@ -8,4 +8,4 @@ add_custom_target(python ALL
COMMAND python3 setup.py build
DEPENDS opendht opendht_cpp.pxd opendht.pyx
)
install
(
CODE
"execute_process(COMMAND python3 setup.py install WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)"
)
install
(
CODE
"execute_process(COMMAND python3 setup.py install
--root=
\$
ENV{DESTDIR}/
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)"
)
This diff is collapsed.
Click to expand it.
python/setup.py.in
+
1
−
1
View file @
475b2604
# Copyright (C) 2015-2016 Savoir-faire Linux Inc.
# Copyright (C) 2015-2016 Savoir-faire Linux Inc.
# Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
# Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com>
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment