|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | | -from setuptools import setup |
4 | | - |
5 | | -import versioneer |
6 | | - |
7 | | -long_desc = """ |
8 | | -WXMPlot provides advanced wxPython widgets for plotting and image display |
9 | | -of numerical data based on matplotlib. While matplotlib provides excellent |
10 | | -general purpose plotting functionality and supports many GUI and non-GUI |
11 | | -backends it does not have a very tight integration with any particular GUI |
12 | | -toolkit. With a large number of plotting components and options, it is not |
13 | | -easy for programmers to select plotting options for every stuation and not |
14 | | -easy for end users to manipulate matplotlib plots. Similarly, while |
15 | | -wxPython has some plotting functionality, it has nothing as good or |
16 | | -complete as matplotlib. The WXMPlot package attempts to bridge that gap. |
17 | | -With the plotting and image display Panels and Frames from WXMPlot, |
18 | | -programmers are able to provide plotting widgets that make it easy for end |
19 | | -users to customize plots and interact with their data. |
20 | | -""" |
21 | | - |
22 | | -setup(name = 'wxmplot', |
23 | | - version=versioneer.get_version(), |
24 | | - cmdclass=versioneer.get_cmdclass(), |
25 | | - author = 'Matthew Newville', |
26 | | - author_email = 'newville@cars.uchicago.edu', |
27 | | - url = 'https://newville.github.io/wxmplot/', |
28 | | - download_url = 'https://github.com/newville/wxmplot/', |
29 | | - license = 'OSI Approved :: MIT License', |
30 | | - platforms=['Windows', 'Linux', 'Mac OS X'], |
31 | | - description = 'wxPython plotting widgets using matplotlib', |
32 | | - long_description = long_desc, |
33 | | - classifiers=['Intended Audience :: Science/Research', |
34 | | - 'Operating System :: OS Independent', |
35 | | - 'Programming Language :: Python', |
36 | | - 'Topic :: Scientific/Engineering', |
37 | | - 'Topic :: Scientific/Engineering :: Visualization'], |
38 | | - packages = ['wxmplot'], |
39 | | - install_requires=['numpy>=1.12', |
40 | | - 'wxutils>=0.2.6', |
41 | | - 'matplotlib>=3.0', |
42 | | - 'wxpython>=4.0.3'], |
43 | | - ## tests_require=['pytest'], |
44 | | - ) |
| 3 | +import setuptools |
| 4 | +if __name__ == '__main__': |
| 5 | + setuptools.setup() |
0 commit comments