[Biopython-dev] Building biopython 1.30 on Windows with MSCV

Peter peter at maubp.freeserve.co.uk
Tue Nov 16 13:41:40 EST 2004


I have a partial solution.

Acording to some old posts on the mailing list back in May 2004:

http://portal.open-bio.org/pipermail/biopython-dev/2004-May/001998.html

the Bio/PDB/mmCIF/lex.yy.c file is generated automatically using something called lex, which complicates making the file windows friendly, for example by conditional compilation of the include unistd.h statement.

Editing setup.py to remove Extension('Bio.PDB.mmCIF.MMCIFlex', ...) from the definition of EXTENSIONS list allows me to compile a windows installation program (which appears to work fine) with just the command:

python setup.py bdist_wininst

(There are still a selection of compiler warnings...)

Would the BioPython team like the resulting file biopython-1.30.win32-py2.3.exe to make available to end users?

Peter

-- 

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm



More information about the Biopython-dev mailing list