forked from cloggo/python-ctags
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (43 loc) · 1.52 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
"""Exuberant Ctags indexing python bindings
Exuberant Ctags supports indexing of many modern programming languages. Python
is a powerful scriptable dynamic language. Using Python to access Ctags index
file is a natural fit in extending an application's capability to examine source
code.
This project wrote a wrapper for readtags.c. I have been using the package in
a couple of projects and it has been shown that it could easily handle hundreds
source files.
"""
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: C',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Topic :: Software Development :: Libraries :: Python Modules',
]
from distutils.core import setup
from distutils.command import build, clean
from distutils.extension import Extension
import os, sys, shutil
doclines = __doc__.split("\n")
setup(
name='python-ctags',
version='1.0.6' ,
description=doclines[0],
long_description="\n".join(doclines[2:]),
author='Aaron H. K. Diep',
author_email='[email protected]',
license = 'LGPL',
url='https://github.com/hddmet/python-ctags',
classifiers = classifiers,
packages = ['ctags'],
ext_package='ctags',
ext_modules=[Extension(
'_readtags', ['src/readtags.c', 'src/_readtags.c'],
include_dirs=['src/include']
)],
package_dir = {'ctags' : 'src/ctags'}
)