forked from eriknystrom/ObjectListView2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (63 loc) · 2.68 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
NAME = "ObjectListView2"
# update following in conf.py, __init__.py and here
VERSION = "1.0.1"
URL = "https://github.com/eriknystrom/ObjectListView2"
DOWNLOAD_URL = "https://github.com/eriknystrom/ObjectListView2/releases"
LICENSE = "wxWindows"
AUTHOR = "Phillip Piper"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER = "Erik Nystrom"
MAINTAINER_EMAIL = "[email protected]"
YEAR = 2019
DESCRIPTION = "An ObjectListView is a wrapper around the wx.ListCtrl that makes the list control easier to use. This is an upload of olv 1.3.2 from https://bitbucket.org/wbruhin/objectlistview/"
LONG_DESCRIPTION = \
r"""
ObjectListView
==============
This is an upload of olv 1.3.2 from https://bitbucket.org/wbruhin/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.7+
* wxPython 2.8+
"""
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: User Interfaces',
]
from setuptools import setup
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
url=URL,
download_url=DOWNLOAD_URL,
license=LICENSE,
platforms=["Many"],
packages=[NAME],
classifiers=CLASSIFIERS,
)