@@ -17,7 +17,7 @@ python:
17
17
# python3 setup.py install --user # deprecated
18
18
# python3 -m build # requires the 'build' package, creates an isolated envir
19
19
# -DQUITEFASTMST_PROFILER
20
- CPPFLAGS=" ${CPPFLAGS} -UNDEBUG -DDEBUG -Wpedantic -Wextra -Wall" python3 -m pip install .
20
+ CPPFLAGS=" ${CPPFLAGS} -UNDEBUG -DDEBUG -Wpedantic -Wextra -Wall" python3 -m pip install . --no-build-isolation
21
21
22
22
py-test : python
23
23
pytest
@@ -27,17 +27,18 @@ py-test: python
27
27
28
28
r-autoconf :
29
29
Rscript -e ' Rcpp::compileAttributes()'
30
- CXX_DEFS=" ${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --preclean
30
+ # CXX_DEFS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --preclean
31
+
32
+ r : r-autoconf
33
+ CXX_DEFS=" ${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --html
31
34
# Roxygen2 adds the -O0 flag if load_installed is not passed!
32
35
Rscript -e " \
33
36
source(' .devel/roxygen2-patch.R' ); \
34
37
roxygenise(\
35
38
roclets=c(' rd' , ' collate' , ' namespace' , ' vignette' ), \
36
39
load_code=roxygen2::load_installed\
37
40
)"
38
-
39
- r : r-autoconf
40
- R CMD INSTALL . --html
41
+ CXX_DEFS=" ${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --html
41
42
42
43
r-test : r
43
44
Rscript -e ' source(".devel/tinytest.R")'
66
67
news :
67
68
cd .devel/sphinx && cp ../../NEWS news.md
68
69
69
- html : news weave rd2myst weave-examples
70
+ html : r python news weave rd2myst weave-examples
70
71
rm -rf .devel/sphinx/_build/
71
72
cd .devel/sphinx && make html
72
73
.devel/sphinx/fix-html.sh .devel/sphinx/_build/html/rapi/
@@ -75,7 +76,7 @@ html: news weave rd2myst weave-examples
75
76
@echo " *** Browse the generated documentation at" \
76
77
" file://` pwd` /.devel/sphinx/_build/html/index.html"
77
78
78
- docs : python r html
79
+ docs : html
79
80
@echo " *** Making 'docs' is only recommended when publishing the " \
80
81
" official release, because it updates the package homepage."
81
82
@echo " *** Therefore, we check if the package version is like 1.2.3 " \
0 commit comments