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
8a281c1d
Commit
8a281c1d
authored
9 years ago
by
Simon Désaulniers
Browse files
Options
Downloads
Patches
Plain Diff
fallback to setup.py generated install record
parent
71680229
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/Makefile.am
+7
-2
7 additions, 2 deletions
python/Makefile.am
with
7 additions
and
2 deletions
python/Makefile.am
+
7
−
2
View file @
8a281c1d
if
USE_CYTHON
if
USE_CYTHON
PYTHON_INSTALL_RECORD
=
$(
builddir
)
/install_record.txt
pybuild.stamp
:
pybuild.stamp
:
LDFLAGS
=
"-L
$(
top_srcdir
)
/src/.libs"
$(
PYTHON
)
setup.py build_ext
--inplace
LDFLAGS
=
"-L
$(
top_srcdir
)
/src/.libs"
$(
PYTHON
)
setup.py build_ext
--inplace
echo
stamp
>
pybuild.stamp
echo
stamp
>
pybuild.stamp
...
@@ -8,15 +10,18 @@ CLEANFILES = pybuild.stamp
...
@@ -8,15 +10,18 @@ CLEANFILES = pybuild.stamp
all-local
:
pybuild.stamp
all-local
:
pybuild.stamp
clean-local
:
clean-local
:
rm
-rf
$(
builddir
)
/build
$(
builddir
)
/
*
.so
rm
-rf
$(
builddir
)
/build
$(
builddir
)
/
*
.so
$(
PYTHON_INSTALL_RECORD
)
install-exec-local
:
install-exec-local
:
$(
PYTHON
)
setup.py
install
$(
PYTHON
)
setup.py
install
--record
$(
PYTHON_INSTALL_RECORD
)
rm
-rf
$(
builddir
)
/build
rm
-rf
$(
builddir
)
/build
if
HAVE_PIP
if
HAVE_PIP
uninstall-local
:
uninstall-local
:
/usr/bin/yes |
$(
PIP
)
uninstall
$(
PACKAGE
)
/usr/bin/yes |
$(
PIP
)
uninstall
$(
PACKAGE
)
else
uninstall-local
:
while
read
-r
file
;
do
rm
-rvf
$$
file
;
done
<
$(
PYTHON_INSTALL_RECORD
)
endif
endif
endif
endif
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