AeroEng43 / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

Block comments, makefile name and distutils. #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a great project!  I have a few suggestions I would like to see in
your project which I've included in the attached patch file.

1) Block comments which can be used to exclude code from the shedskin
compilation process.  I've chosen #{ and #} in the attached patch.

2) An option to specify an alternate Makefile name.  I've chosen '-n
--name' in the attached patch.  Personally, I would make the default
something other than 'Makefile', perhaps 'shedskin.mak'.  I would sure hate
to type in the shedskin command and have it blow away a perfectly good
Makefile.

3) Use distutils in the setup.py program.  I'm no expert in this area and
I've attached my attempt at a setup file in the patch.  The tricky part
involves getting the FLAGS file into the expected directory.

I've tested the patch using Slackware 12.1.0, Linux kernel 2.6.24.5-smp,
Python 2.5.2, and GCC 4.2.3.

Thanks.

P.S. I hope I don't get into too much trouble for entering three
suggestions under one issue ;-)

Original issue reported on code.google.com by schric...@gmail.com on 9 Jan 2010 at 7:21

Attachments: