More unit tests
[codimension.git] / pythonparser-exp / setup.py
blob55c164f79ab3adc4b62100b08e36358f2b25f8df
2 # -*- coding: utf-8 -*-
4 # codimension - graphics python two-way code editor and analyzer
5 # Copyright (C) 2010 Sergey Satskiy <sergey.satskiy@gmail.com>
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 # $Id$
24 from distutils.core import setup, Extension
26 long_description = """Fast and comprehensive Python language parser.
27 Written as a part of the Codimension project, this parser
28 aims at pulling the most data from Python sources while
29 exceeding the speed of existing parsers."""
31 version = 'trunk'
33 setup( name = 'cdmpyparser',
34 description = 'Codimension Python Parser',
35 long_description = long_description,
36 version = version,
37 author = 'Sergey Satskiy',
38 author_email = 'sergey.satskiy@gmail.com',
39 url = 'http://satsky.spb.ru/codimension/doc/briefParserEng.php',
40 license = 'GPLv3',
41 classifiers = [
42 'Development Status :: 5 - Production/Stable',
43 'Intended Audience :: Developers',
44 'License :: OSI Approved :: GNU General Public License (GPL)',
45 'Operating System :: POSIX :: Linux',
46 'Programming Language :: C',
47 'Programming Language :: Python',
48 'Topic :: Software Development :: Libraries :: Python Modules'],
49 platforms = [ 'any' ],
50 py_modules = [ 'cdmbriefparser' ],
51 ext_modules = [ Extension( '_cdmpyparser',
52 [ 'cdmpyparser.c'],
53 extra_compile_args = [ '-Wno-unused', '-fomit-frame-pointer',
54 '-DCDM_PY_PARSER_VERSION="' + version + '"',
55 '-ffast-math',
56 '-O2',
57 '-std=c99' ]
58 ) ] )