summaryrefslogtreecommitdiff
path: root/setup.py
blob: 8ace8d7359101146d095686d831eb6a39c46b0c4 (plain)
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
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

VERSION = '0.1.0'

## DEPENDENCIES decorator

if __name__ == '__main__':
    try:
        docfile = file('/tmp/documentation.html')
    except IOError: # file not found, ignore
        doc = ''
    else:
        doc = docfile.read()
    setup(name='sqlplain',
          install_requires = [
        'decorator>=3.0.0'],
          version=VERSION,
          description='Keep SQL simple',
          long_description='</pre>%s<pre>' % doc,
          author='Michele Simionato',
          author_email='michele.simionato@gmail.com',
          url='http://pypi.python.org/pypi/sqlplain',
          license="BSD License",
          packages = ['sqlplain'],
          keywords="SQL DB API 2",
          platforms=["All"],
          classifiers=['Development Status :: 1 - Alpha',
                       'Intended Audience :: Developers',
                       'License :: OSI Approved :: BSD License',
                       'Natural Language :: English',
                       'Operating System :: OS Independent',
                       'Programming Language :: Python',
                       'Topic :: Software Development :: Libraries',
                       'Topic :: Utilities'],
          zip_safe=False)