On Sa, 2008-10-18 at 18:05 -0300, Normando Hall wrote:
> Running the command
> 
> ./pootlesetup.py bdist_rpm
> 
> give me this error:
> 
> + python setup.py build
> python: can't open file 'setup.py': [Errno 2] No such file or directory
> 
> 
> I have Pootle 1.1.0 and build ok, so I compared between the two 
> pootlesetup.py file (1.1.0 and 1.2.0) and give me this diff:
> 
> 203a204
>  >   pootlefiles.append(listfiles(join('Pootle', 'html', 'js', 'jquery')))
> 245a247,249
>  >   print >>file, "prune virtaal"
>  >   print >>file, "prune spelt"
>  >   print >>file, "prune corpuscatcher"
> 290c294
> <     fix_bdist_rpm(os.path.basename(__file__))
> ---
>  > #    fix_bdist_rpm(os.path.basename(__file__))
> 328c332
> <         author="David Fraser, translate.org.za",
> ---
>  >         author="Translate.org.za",
> 330,331c334,335
> <         url="http://translate.sourceforge.net/";,
> <         
> download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=97082";,
> ---
>  >         url="http://translate.sourceforge.net/wiki/pootle/index";,
>  >         
> download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=144807";,
> 
> 
> So, I uncomment the line:
> 
> from
> #    fix_bdist_rpm(os.path.basename(__file__))
> 
> to
>     fix_bdist_rpm(os.path.basename(__file__))
> 
> 
> and now compile ok.
> 
> Is this correct?
> 
> regards
> Normando

Hallo Normando

It seems right (especially if it works for you), but I'll want to check
why this is commented. The machine we used for building is not available
at the moment, and I'd want to check it there in the clean environment
we used for building. There was obviously some reason, but I can't
recall right now what it was. Somewhere "pootlesetup.py" was being
replaced with "pootlepootlesetup.py", but I can't remember exactly what
the issue was.

By the way, on what platform are you doing this?

I'll try to get back to you.

Keep well
Friedel
--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to