Commit 00ab7b93 authored by Jason Madden's avatar Jason Madden

Need to use an editable install on appveyor to find our test files; should...

Need to use an editable install on appveyor to find our test files; should probably loosen that restriction for downstream [skip travis]
parent e1a1f03a
...@@ -138,17 +138,7 @@ cache: ...@@ -138,17 +138,7 @@ cache:
- '%LOCALAPPDATA%\pip\Cache' - '%LOCALAPPDATA%\pip\Cache'
build_script: build_script:
# Build the compiled extension. First we make an sdist, then - "%PYEXE% -m pip install -U --upgrade-strategy=eager -e .[test,events,dnspython]"
# we install from that, to test sdist building issues. Finally we
# build a wheel for downloading purposes
- "%CMD_IN_ENV% %PYEXE% setup.py sdist --formats=gztar"
- ps: "ls dist"
# Now install the sdist.
# I couldn't get wildcards to work for pip install, so stuff it
# into a variable, using python to glob.
- "%PYEXE% -c \"import glob; print(glob.glob('dist/*gz')[0])\" > whl.txt"
- set /p PYWHL=<whl.txt
- "%PYEXE% -m pip install -U --upgrade-strategy=eager %PYWHL%[test,events,dnspython]"
test_script: test_script:
# Run the project tests # Run the project tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment