-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (66 loc) · 2.47 KB
/
setup.py
File metadata and controls
77 lines (66 loc) · 2.47 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
73
74
75
76
77
import sys
NAME = "ObjectListView"
VERSION = "1.2.2012.11.12"
URL = "http://objectlistview.sourceforge.net/python"
DOWNLOAD_URL = "http://objectlistview.sourceforge.net/samples/ObjectListView-1.2.zip"
LICENSE = "wxWindows"
AUTHOR = "Phillip Piper"
AUTHOR_EMAIL = "phillip.piper@gmail.com"
YEAR = 2008
DESCRIPTION = "An ObjectListView is a wrapper around the wx.ListCtrl that makes the list control easier to use"
LONG_DESCRIPTION = \
r"""
ObjectListView
==============
An ObjectListView is a wrapper around the wx.ListCtrl that makes the
list control easier to use. It also provides some useful extra functionality.
* Automatically transforms a collection of model objects into a fully functional wx.ListCtrl.
* Automatically sorts rows.
* Easily edit the cell values.
* Supports all ListCtrl views (report, list, large and small icons).
* Columns can be fixed-width, have a minimum and/or maximum width, or be space-filling
* Displays a "list is empty" message when the list is empty (obviously).
* Supports checkboxes in any column.
* Supports alternate rows background colors.
* Supports custom formatting of rows .
* Supports searching (by typing) on any column, even on massive lists.
* Supports custom sorting
* Supports filtering and batched updates
* The ``FastObjectListView`` version can build a list of 10,000 objects in less than 0.1 seconds.
* The ``VirtualObjectListView`` version supports millions of rows through ListCtrl's virtual mode.
* The ``GroupListView`` version supports arranging rows into collapsible groups.
* Effortlessly produce professional-looking reports using a ``ListCtrlPrinter``.
Seriously, after using an ObjectListView, you will never go back to using a plain wx.ListCtrl.
Dependancies
============
* Python 2.4+
* wxPython 2.8+
"""
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: User Interfaces',
]
if 'bdist_egg' in sys.argv:
try:
from setuptools import setup
except ImportError:
print "To build an egg setuptools must be installed"
else:
from distutils.core import setup
setup(
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = AUTHOR,
maintainer_email = AUTHOR_EMAIL,
url = URL,
download_url = DOWNLOAD_URL,
license = LICENSE,
platforms = [ "Many" ],
packages = [ NAME ],
classifiers= CLASSIFIERS,
)