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

-------------------------------------------------------------------------
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
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to