Skip to content

Commit 966d0da

Browse files
committed
wip: fixing paths
1 parent 60d0e85 commit 966d0da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
DESTDIR =
22

3+
# Find library installation path
4+
INSTALL_PATH = $(patsubst Location:,,$(shell pip show PSL | grep Location))
5+
INSTALL_PATH_LEN = $(shell echo $(INSTALL_PATH) | wc -c)
6+
37
all:
48
python setup.py build
59

610
clean:
711
@rm -rf docs/_*
812
@rm -rf PSL.egg-info build
913
@find . -name "*~" -o -name "*.pyc" -o -name "__pycache__" | xargs rm -rf
14+
# Remove previously installed library files
15+
if [ ${INSTALL_PATH_LEN} -gt 2 ]; then sudo rm -rf $(INSTALL_PATH)/PSL $(INSTALL_PATH)/PSL-1* ; fi
1016

1117
install:
1218
python setup.py install

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy