Show More
@@ -173,3 +173,40 b' path variables are expanded (~ is the sa' | |||||
173 | Not tracked: |
|
173 | Not tracked: | |
174 |
|
174 | |||
175 | #endif |
|
175 | #endif | |
|
176 | ||||
|
177 | #if virtualenv | |||
|
178 | ||||
|
179 | Verify that Mercurial is installable with pip. Note that this MUST be | |||
|
180 | the last test in this file, because we do some nasty things to the | |||
|
181 | shell environment in order to make the virtualenv work reliably. | |||
|
182 | ||||
|
183 | $ cd $TESTTMP | |||
|
184 | Note: --no-site-packages is deprecated, but some places have an | |||
|
185 | ancient virtualenv from their linux distro or similar and it's not yet | |||
|
186 | the default for them. | |||
|
187 | $ unset PYTHONPATH | |||
|
188 | $ $PYTHON -m virtualenv --no-site-packages installenv >> pip.log | |||
|
189 | Note: we use this weird path to run pip and hg to avoid platform differences, | |||
|
190 | since it's bin on most platforms but Scripts on Windows. | |||
|
191 | $ ./installenv/*/pip install $TESTDIR/.. >> pip.log | |||
|
192 | $ ./installenv/*/hg debuginstall || cat pip.log | |||
|
193 | checking encoding (ascii)... | |||
|
194 | checking Python executable (*) (glob) | |||
|
195 | checking Python version (2.*) (glob) | |||
|
196 | checking Python lib (*)... (glob) | |||
|
197 | checking Python security support (*) (glob) | |||
|
198 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |||
|
199 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |||
|
200 | checking Mercurial version (*) (glob) | |||
|
201 | checking Mercurial custom build (*) (glob) | |||
|
202 | checking module policy (*) (glob) | |||
|
203 | checking installed modules (*/mercurial)... (glob) | |||
|
204 | checking registered compression engines (*) (glob) | |||
|
205 | checking available compression engines (*) (glob) | |||
|
206 | checking available compression engines for wire protocol (*) (glob) | |||
|
207 | checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob) | |||
|
208 | checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob) | |||
|
209 | checking commit editor... (*) (glob) | |||
|
210 | checking username (test) | |||
|
211 | no problems detected | |||
|
212 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now