[Python-projects] [apycot] setup.py
Didrik Pinte
lists at dipole-consulting.com
Tue Apr 28 09:44:51 CEST 2009
On Thu, 23 Apr 2009 14:50 +0200, "Sylvain Thénault"
<sylvain.thenault at logilab.fr> wrote:
>
> IMO you're encoutering the svn layout pb I suspected, due to the fact
> that our
> subversion is trying to be smart by putting itself trunk/tags/branches...
>
> If everything seems ok in the test directory, could you try to apply the
> following
> patch to apycotbot/repositories.py (in SVNRepository.env_path):
>
> diff -r 66fcfdff8c82 repositories.py
> --- a/repositories.py Thu Apr 23 14:48:45 2009 +0200
> +++ b/repositories.py Thu Apr 23 14:48:49 2009 +0200
> @@ -144,7 +144,7 @@
> """return the relative path where the project will be located
> in the test environment
> """
> - return basename(self.path)
> + return basename(normpath(self.path or self.repository))
>
>
Hi Sylvain,
I have tried the --keep-test-dir option.
The content of the tmp dir is the following as expected :
homer:/home/did# ls /tmp/tmpPehvbW/
local trunk
In the trunk directory, there is a setup.py file
I have applied your patch on repositories.py but running the tests still
fails with the same error.
Didrik
--
Didrik Pinte - Gérant/Manager
Dipole Consulting SPRL
E-mail : dpinte at dipole-consulting.com
Tel : +32 (0)10 779 005
Mobile : +32 (0)475 665 668
Fax : +32 (0)2 791 56 61
Web : http://www.dipole-consulting.com
TVA : BE.0895.560.517
More information about the Python-Projects
mailing list