|
3 | 3 | # rights in this software. |
4 | 4 |
|
5 | 5 | from setuptools import setup, find_packages |
| 6 | +import re |
| 7 | + |
6 | 8 | setup( |
7 | 9 | name = "toyplot", |
8 | 10 | classifiers = [ |
|
15 | 17 | "License :: OSI Approved :: BSD License", |
16 | 18 | "Natural Language :: English", |
17 | 19 | "Programming Language :: Python :: 2", |
| 20 | + "Programming Language :: Python :: 3", |
18 | 21 | "Topic :: Scientific/Engineering :: Visualization", |
19 | 22 | ], |
20 | 23 | description = "A modern plotting toolkit supporting electronic publishing and reproducibility.", |
21 | 24 | install_requires = ["numpy>=1.7", "colormath"], |
22 | 25 | long_description = """Toyplot is the kid-sized plotting toolkit for Python with grownup-sized goals: |
23 | 26 | * Develop beautiful interactive, animated plots that embrace the unique capabilities of electronic publishing and support repoducibility. |
24 | 27 | * Create the best possible data graphics "out-of-the-box", maximizing data ink and minimizing chartjunk. |
25 | | - * Provide a clean, minimalist interface that scientists and engineers will love.""", |
| 28 | + * Provide a clean, minimalist interface that scientists and engineers will love. |
| 29 | +
|
| 30 | + See the Toyplot documentation at http://toyplot.readthedocs.org, and the Toyplot sources at http://github.com/sandialabs/toyplot""", |
26 | 31 | maintainer = "Timothy M. Shead", |
27 | 32 | maintainer_email = "[email protected]", |
28 | | - url = "http://github.com/sandialabs/toyplot", |
29 | | - version = "0.1.0", |
| 33 | + url = "http://toyplot.readthedocs.org", |
| 34 | + version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", open("toyplot/__init__.py", "r").read(), re.M).group(1), |
30 | 35 | packages = find_packages(), |
31 | 36 | ) |
0 commit comments