Permalink
Browse files

added -ansi -pedantic flags to setup.py

  • Loading branch information...
1 parent 58324a0 commit 60c536c7e723c41d8e3a600daa1d44bd90fd1a03 Rafal Galczynski committed Dec 27, 2011
Showing with 8 additions and 6 deletions.
  1. +8 −6 setup.py
View
@@ -1,14 +1,14 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
-VERSION='0.1'
+VERSION = '0.1'
from distutils.core import setup, Extension
-sources=[ 'src/llist.c',
- 'src/dllist.c',
- 'src/sllist.c',
- ]
+sources = ['src/llist.c',
+ 'src/dllist.c',
+ 'src/sllist.c',
+ ]
setup(name='llist',
description='Linked list data structures for Python',
@@ -20,7 +20,9 @@
download_url='http://pypi.python.org/pypi/llist/%s' % VERSION,
license='MIT',
keywords='linked list, list',
- ext_modules=[ Extension('llist', sources) ],
+ ext_modules=[Extension('llist',
+ sources,
+ extra_compile_args=['-ansi', '-pedantic'])],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',

0 comments on commit 60c536c

Please sign in to comment.