From 5c82bf226eee23f1bc0e2f2e47203c91560b0b8d Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Wed, 15 Feb 2012 14:57:51 +0100 Subject: [PATCH] Move simple test script --- out.py => demo/simple_test.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename out.py => demo/simple_test.py (98%) diff --git a/out.py b/demo/simple_test.py similarity index 98% rename from out.py rename to demo/simple_test.py index 0ad9b32..be2d2da 100755 --- a/out.py +++ b/demo/simple_test.py @@ -72,7 +72,7 @@ hstackedbar.add('--->', rng3) with open('out-horizontalstackedbar.svg', 'w') as f: f.write(hstackedbar.render()) -line = Line(Config(y_scale=.0005, include_x_axis=True)) +line = Line(Config(y_scale=.0005)) rng = range(-30, 31, 5) line.add('test1', [1000 + cos(x / 10.) for x in rng]) line.add('test2', [1000 + sin(x / 10.) for x in rng]) diff --git a/setup.py b/setup.py index 8e27f93..eae56ea 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ setup( packages=['pygal'], provides=['pygal'], keywords=["svg", "graph", "diagram", "plot", "histogram", "kiviat"], - tests_require=["pytest"], + tests_require=["pytest", "flask"], package_data={'pygal': ['css/*']}, install_requires=['lxml'], classifiers=[