orestis / pysmell

PySmell is an attempt to create an IDE completion helper for python.

This URL has Read+Write access

pysmell / setup.py
100644 72 lines (57 sloc) 2.111 kb
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
#!/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 = 'orestis@orestis.gr',
    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',
    ]
        
 
)