[cheesecake-users] Running cheesecake index on Windows

Noel O'Boyle baoilleach at gmail.com
Mon Feb 19 06:59:42 PST 2007


Dear Cheesecake Bakers,

Running the current release of the cheesecake index script on Windows
doesn't seem to work very well for my program 'cclib'
(http://pypi.pycheesecake.org/pypi/score/cclib/0.6.1).

When I run it in Windows, instead of extracting to cclib-0.6.1, it
appears to extract only the test subdirectory:

C:\Documents and Settings\oboyle\Desktop\tmpopt>python C:\Python24\Scripts\chees
ecake_index -n cclib
py_pi_download .........................  50  (downloaded package cclib-0.6.1.zi
p directly from the Cheese Shop)
unpack .................................  25  (package unpacked successfully)
unpack_dir .............................   0  (unpack directory is cclib-0.6.1/t
est instead of the expected cclib-0.6.1)
setup.py ...............................   0  (setup.py not found)
install ................................   0  (could not install package in c:\d
ocume~1\oboyle\locals~1\temp\cheesecake-xizds\tmp_install_cclib-0.6.1/test)
generated_files ........................   0  (0 .pyc and 0 .pyo files found)
---------------------------------------------
INSTALLABILITY INDEX (ABSOLUTE) ........  75
INSTALLABILITY INDEX (RELATIVE) ........  46  (75 out of a maximum of 165 points
 is 46%)

required_files .........................   0  (0 files and 0 required directorie
s found)
docstrings .............................  50  (found 36/72=50.00% objects with d
ocstrings)
formatted_docstrings ...................   0  (found 0/72=0.00% objects with for
matted docstrings)
---------------------------------------------
DOCUMENTATION INDEX (ABSOLUTE) .........  50
DOCUMENTATION INDEX (RELATIVE) .........  15  (50 out of a maximum of 350 points
 is 15%)

unit_tested ............................  30  (has unit tests)
---------------------------------------------
CODE KWALITEE INDEX (ABSOLUTE) .........  30
CODE KWALITEE INDEX (RELATIVE) ......... 100  (30 out of a maximum of 30 points
is 100%)


=============================================
OVERALL CHEESECAKE INDEX (ABSOLUTE) .... 155
OVERALL CHEESECAKE INDEX (RELATIVE) ....  28  (155 out of a maximum of 545 point
s is 28%)
Traceback (most recent call last):
  File "C:\Python24\Scripts\cheesecake_index", line 5, in ?
    pkg_resources.run_script('Cheesecake==0.6.1', 'cheesecake_index')
  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg\pkg_resources.p
y", line 407, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "c:\python24\lib\site-packages\setuptools-0.6c5-py2.4.egg\pkg_resources.p
y", line 1084, in run_script
    execfile(script_filename, namespace, namespace)
  File "c:\python24\lib\site-packages\cheesecake-0.6.1-py2.4.egg\EGG-INFO\script
s\cheesecake_index", line 5, in ?
    main()
  File "c:\python24\lib\site-packages\Cheesecake-0.6.1-py2.4.egg\cheesecake\chee
secake_index.py", line 1880, in main
    c.cleanup()
  File "c:\python24\lib\site-packages\Cheesecake-0.6.1-py2.4.egg\cheesecake\chee
secake_index.py", line 1406, in cleanup
    os.unlink(log_path)
OSError: [Errno 13] Permission denied: 'c:\\docume~1\\oboyle\\locals~1\\temp\\cc
lib.log'

Regards,
    Noel



More information about the cheesecake-users mailing list