|
2 | 2 |
|
3 | 3 | from setuptools import setup
|
4 | 4 |
|
5 |
| -try: |
6 |
| - from lib import __version__ as version |
7 |
| -except: |
8 |
| - version = 'unknown' |
| 5 | +import versioneer |
9 | 6 |
|
10 |
| -long_desc = '''A library for wxPython based on matplotlib for high-level, |
11 |
| -richly featured 2-D plotting and displaying 3-D data as intensity maps and |
12 |
| -contour plots. Easy-to-use wx Panels and Frame provide high-quality plots |
13 |
| -and allow some user interaction and customization of the plots. ''' |
| 7 | +long_desc = """ |
| 8 | +WXMPlot provides advanced wxPython widgets for plotting and image |
| 9 | +display based on matplotlib. The plotting and image display wx Panels |
| 10 | +and Frames it provides are easy for the programmer to include and work |
| 11 | +with from wx programs. More importantly, the widgets created by WXMPlot |
| 12 | +give the end user a flexible set of tools for interacting with their |
| 13 | +data and customizing the plots and displays. WXMPlot panels are more |
| 14 | +interactive than typical displayss from matplotlib's pyplot module. |
| 15 | +""" |
14 | 16 |
|
15 | 17 | install_reqs = ['six', 'matplotlib', 'numpy', 'wx']
|
16 | 18 |
|
17 | 19 | setup(name = 'wxmplot',
|
18 |
| - version = version, |
| 20 | + version=versioneer.get_version(), |
| 21 | + cmdclass=versioneer.get_cmdclass(), |
19 | 22 | author = 'Matthew Newville',
|
20 | 23 | author_email = '[email protected]',
|
21 | 24 | url = 'http://newville.github.io/wxmplot/',
|
22 | 25 | download_url = 'http://github.com/newville/wxmplot/',
|
23 | 26 | requires = install_reqs,
|
24 | 27 | install_requires = install_reqs,
|
25 | 28 | license = 'OSI Approved :: MIT License',
|
26 |
| - description = 'A library for plotting in wxPython using matplotlib', |
| 29 | + description = 'wxPython plotting tools using matplotlib', |
27 | 30 | long_description = long_desc,
|
28 | 31 | platforms = ('Windows', 'Linux', 'Mac OS X'),
|
29 | 32 | classifiers=['Intended Audience :: Science/Research',
|
|
0 commit comments