forked from nonameentername/pysmell
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
95 lines (79 loc) · 2.44 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from ez_setup import use_setuptools
use_setuptools(version="0.6c9")
from distutils import cmd
from setuptools import setup
from setuptools.command.install import install as _install
post_install_message = """\
===================================================================
PySmell has a number of support scripts for Vim, Emacs.
You have to manually copy them from the source distribution to your
.vim/plugins, .emacs.d to be able to use PySmell.
TextMate users should double-click on the bundle to install it.
Consult the README for more information
===================================================================
"""
class install(_install):
def run(self):
_install.run(self)
print post_install_message
version = __import__('pysmell').__version__
setup(
cmdclass={'install': install},
name='pysmell',
version = version,
description = 'An autocompletion library for Python',
author = 'Orestis Markou',
author_email = '[email protected]',
packages = ['pysmell'],
entry_points = {
'console_scripts': [ 'pysmell = pysmell.tags:main' ]
},
include_package_data = True,
test_suite = "Tests",
keywords = 'vim emacs textmate autocomplete',
url = 'http://code.google.com/p/pysmell',
long_description =
"""\
PySmell is a python IDE completion helper.
It tries to statically analyze Python source code, without executing it,
and generates information about a project's structure that IDE tools can
use.
PySmell currently supports Vim, Emacs and TextMate. It can be integrated with
any editor that can run Python scripts and has an auto-complete API.
""",
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Utilities',
'Topic :: Text Editors',
]
)
setup(
cmdclass={'install': install},
name='mktags',
version='0.1',
packages = ['tags'],
entry_points={
'console_scripts':[
'mktags = tags.tag:mktags',
]
},
)
setup(
cmdclass={'install': install},
name='rmtags',
version='0.1',
packages = ['tags'],
entry_points={
'console_scripts':[
'rmtags = tags.tag:rmtags',
]
},
)