Hugo Lopes Tavares
4d9fb4f651
bugfixes related to os.path.sep for windows (issue #107 )
2010-08-06 15:05:00 -03:00
Hugo Lopes Tavares
cd852648e9
bugfix to issue #107 - Can't install if a directory in cwd has the same name as the package you're installing
...
if user is trying to install using ``pip install ./foo`` or ``pip install foo/`` it assumes it should use file system folder
2010-08-06 12:41:49 -03:00
Jannis Leidel
e80c387a26
Added support for mirrors as defined in PEP 381. This feature is disabled by default and will query the DNS entry of the main mirror index URL to get a list of mirrors. Optinally can be passed a list of mirrors instead.
2010-08-16 01:46:23 +02:00
Hugo Lopes Tavares
37d1bf39a7
added feature requested in #147 - Need pip-x.y scripts
2010-08-02 20:54:25 -03:00
Hugo Lopes Tavares
67fd4dbcc4
splitted local_repo into local_repo
and local_checkout
: local_repo
returns file://url, while local_checkout
returns vcs+file://url and updated code used local_repo
function
2010-06-21 19:48:28 -03:00
Hugo Lopes Tavares
23cb437dde
now tests check out and use INITools local svn repository and local_repo function has been moved to tests/local_repos.py module
2010-06-16 06:51:21 -03:00
Hugo Lopes Tavares
c8047c4bbe
using new local_repo
style, like local_repo('hg+ http://bitbucket.org/ianb/virtualenv ')
2010-06-14 13:54:44 -03:00
Hugo Lopes Tavares
1f4408c1b9
added changes to make it easier to add ianb suggestions (local_repo should chekout the repos and the repos are not tracked with pip source code)
2010-06-09 23:47:29 -03:00
Hugo Lopes Tavares
281e7ed6a9
removed unused variables and functions (pep8)
2010-06-08 21:03:48 -03:00
Hugo Lopes Tavares
d9353cd38e
removed trailing whitespaces
2010-06-08 20:57:29 -03:00
Hugo Lopes Tavares
e18f74e556
using local repos where was used svn,git,hg,bzr to install packages
2010-06-08 20:09:37 -03:00
Hugo Lopes Tavares
ab3ea6ec51
removed unused vars and imports
2010-06-03 21:58:16 -03:00
Ronny Pfannschmidt
d8b00e253b
add support for global distutils options
2010-05-30 14:39:11 +02:00
Hugo Lopes Tavares
d06c98dc6f
merged changes related to PEP 8 from hltbra's fork
2010-06-02 23:25:26 -03:00
Carl Meyer
6ce6f9e9f6
remove revision-from-repo
2010-05-25 16:09:42 -04:00
Dave Abrahams
bb8ca1d81f
Remove a few false error expectations.
...
These should really be handled systematically. In particular, if
expect_error is True and no error occurs, an assertion should fire.
That will reveal all such instances very quickly.
2010-05-18 10:26:40 -04:00
Dave Abrahams
0867fdc465
Implemented ability to request a revision by name from the repository.
...
(only supported on Git for now)
2010-04-12 15:54:37 -04:00
Dave Abrahams
65c06ba08d
Improved diagnostic output
2010-05-20 02:35:04 -04:00
Dave Abrahams
9ad75fe6ba
Rationalized and cleaned up use of relative/absolute paths in TestPipEnvironment
...
In test_freeze.py:test_freeze_bazaar_clone, invoke python without qualification
Removed flotsam and jetsam
2010-05-02 14:11:45 -04:00
Dave Abrahams
60ddf57ae9
Factored DOS-newline-handling into test_pip.py; since it applies everywhere now, that should fix the last of the Windows failures!
2010-05-01 17:34:06 -04:00
Dave Abrahams
cf23282488
Various fixes to the portable test code that I missed the last time around
2010-04-29 08:36:58 -04:00
Dave Abrahams
46c7d66aaf
Various fixes to implementation and uses of assert_installed.
...
Factored out assert_installed() to handle common post-installation checks
2010-04-28 16:55:10 -04:00
Dave Abrahams
55fc4610be
Testing sanity checks (e.g. test_correct_pip_version) now pass on all target platforms.
2010-04-28 11:41:55 -04:00
Dave Abrahams
b32d6f4798
Use portable path manipulations for Windows portability
2010-04-24 03:06:42 -04:00
Francesco
30dfb77ac9
bazaar test passes - all test pass
2010-04-13 00:34:38 +02:00
Francesco
c2f80a9b20
clone from mercurial pass
2010-04-13 00:23:04 +02:00
Francesco
93dc28129d
git test pass
2010-04-13 00:17:52 +02:00
Dave Abrahams
7dbdbd8739
Merged winfix branch and fixed the glaring mistakes so the tests still pass on *nix
2010-04-10 16:41:27 -04:00
Alexandre Conrad
aaccedf26a
centralized clean up code in one place
2010-04-17 18:36:31 +02:00
Alexandre Conrad
627c3e7242
Remove build directories after commands. Fixes #57
2010-04-16 19:26:39 +02:00
Simon Cross
67f82ddf6f
Add test that checks for a sensible error message on encountering missing source folders while using --no-download.
2010-04-15 17:08:02 +02:00
Simon Cross
87fc3be969
Tests for --no-download install option (currently fail).
2010-04-15 15:26:21 +02:00
Simon Cross
06e50ea78e
Add test for downloading an editable to a relative custom src folder.
2010-04-15 13:01:36 +02:00
Alexandre Conrad
9b761cb418
better directory detection and rename 'filename' functions to 'path' functions
2010-04-13 18:12:50 +02:00
Carl Meyer
9433c375fb
merge curdir/pardir fix from Alexandre Conrad
2010-04-13 02:59:43 -04:00
Carl Meyer
4ee7604e4a
fix test runner to operate fully within no-site-packages virtualenv; thanks Dave Abrahams for initial patch
2010-04-12 20:48:37 -04:00
Alexandre Conrad
643afc1ebd
use curdir/pardir rather than '.' and '..' (cross-platform compatibility)
2010-04-10 12:13:46 +02:00
Alexandre Conrad
c8b6fa50fb
make pip work when current or parent dir is given: 'pip install .' and 'pip install ..'
2010-04-10 11:57:49 +02:00
Carl Meyer
4060b810c5
fix test names, remove old doctest files
2010-02-24 18:16:43 -05:00
Jakub Vysoky
2f19a378c8
stay in tmp venv directory
...
because it controls pip-log file
we can be sure now, that correct pip is called
2010-02-24 11:24:54 +01:00
Jakub Vysoky
66783986dd
check if proper pip is called
...
there is still one prerequisity for running tests
you have to call python setup.py egg_info, because there is
``pip_dist = pkg_resources.get_distribution('pip')`` used in pip
2010-02-24 11:24:54 +01:00
Jakub Vysoky
bb92f03a17
py version of test_basic.txt doctests
...
test_pip is used as a helper function now
but still can be used as a testrunner for old txt files
2010-02-24 11:24:54 +01:00