diff options
| author | scoder <none@none> | 2006-10-28 11:01:16 +0200 |
|---|---|---|
| committer | scoder <none@none> | 2006-10-28 11:01:16 +0200 |
| commit | f0f1cbcf7e80feda261d75760be0826b6befc1e1 (patch) | |
| tree | 88eca193b5a267d4ebddd2b705e10264b08745d7 /setup.py | |
| parent | fea37ecbcab63412435ca069660bf1282d0423e7 (diff) | |
| download | python-lxml-f0f1cbcf7e80feda261d75760be0826b6befc1e1.tar.gz | |
[svn r2020] support --debug option in setup.py to pass -g2 to gcc
--HG--
branch : trunk
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -137,6 +137,10 @@ try: except ValueError: pass +if '--debug' in sys.argv: + sys.argv.remove('--debug') + cflags.append('-g2') + ext_modules = [] for module, package in EXT_MODULES: |
