id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc
108,Setup.py install missing section header error,anonymous,xi,"When I try to install pysyck on mac osx 10.5.5 by typing python setup. py install I get the following error:
{{{
Traceback (most recent call last):
  File ""setup.py"", line 121, in <module>
    'build_ext': PySyckBuildExt,
  File ""/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py"", line 125, in setup
    dist.parse_config_files()
  File ""/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py"", line 373, in parse_config_files
    parser.read(filename)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ConfigParser.py"", line 267, in read
    self._read(fp, filename)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ConfigParser.py"", line 462, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /Users/s031540/.pydistutils.cfg, line: 1
'{\\rtf1\\ansi\\ansicpg1252\\cocoartf949\\cocoasubrtf350\n'
}}}

I used to get another error, syck.h not found, then I made a file in my home folder thanks to xi:

I'd suggest you to create a file named .pydistutils.cfg in your home directory and add the following lines to it:

{{{
[build_ext]
include_dirs=/usr/local/include
library_dirs=/usr/local/lib
}}}

The Syck.h error disappeared, but I can't get the new one to go away, nor can I find solutions online.

I anybody has any idea, that would be great!",defect,closed,high,pysyck,major,invalid,,
