mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 18:44:19 +08:00
Build from the right directory and add api to latex command
This commit is contained in:
+4
-5
@@ -46,11 +46,14 @@ install:
|
||||
- "pip install --pre --no-index --find-links dist/ scikit-image"
|
||||
|
||||
|
||||
|
||||
# Not a .NET project, we build scikit-image in the install step instead
|
||||
build: false
|
||||
|
||||
test_script:
|
||||
# Build the docs
|
||||
- pip install sphinx
|
||||
- cd doc && make
|
||||
|
||||
# Change to a non-source folder to make sure we run the tests on the
|
||||
# installed library.
|
||||
- "cd C:\\"
|
||||
@@ -61,10 +64,6 @@ test_script:
|
||||
# Run unit tests with nose
|
||||
- "python -c \"import nose; nose.main()\" -v -s skimage"
|
||||
|
||||
# Build the docs
|
||||
- pip install sphinx
|
||||
- cd doc && make
|
||||
|
||||
artifacts:
|
||||
# Archive the generated wheel package in the ci.appveyor.com build report.
|
||||
- path: dist\*
|
||||
|
||||
@@ -115,6 +115,8 @@ if "%1" == "epub" (
|
||||
)
|
||||
|
||||
if "%1" == "latex" (
|
||||
mkdir source/api
|
||||
%PYTHON% tools/build_modref_templates.py
|
||||
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
||||
echo.
|
||||
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
|
||||
|
||||
Reference in New Issue
Block a user