File: setup.py

package info (click to toggle)
python-progressbar 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 124 kB
  • sloc: python: 570; makefile: 24
file content (55 lines) | stat: -rw-r--r-- 1,821 bytes parent folder | download | duplicates (6)
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
#!/usr/bin/python

import os
from setuptools import setup, find_packages
import progressbar

# TODO: I don't believe this should be in here. This should be done on package
#       creation only
try:
    readme = 'README.txt'
    info = 'progressbar/__init__.py'

    if (not os.path.exists(readme) or
        os.stat(info).st_mtime > os.stat(readme).st_mtime):

        open(readme,'w').write(progressbar.__doc__)
except: pass

setup(
    name='progressbar',
    version=progressbar.__version__,
    packages=find_packages(),

    description=progressbar.__doc__.split('\n')[0],
    long_description=progressbar.__doc__,

    author=progressbar.__author__,
    maintainer=progressbar.__author__,
    author_email=progressbar.__author_email__,
    maintainer_email=progressbar.__author_email__,

    url='http://code.google.com/p/python-progressbar',
    license='LICENSE.txt',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: '
            'GNU Library or Lesser General Public License (LGPL)',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.4',
        'Programming Language :: Python :: 2.5',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: User Interfaces',
        'Topic :: Terminals'
    ],
)