From 258777f2520adc0b4c1d7bbfe5d8130a1b050cec Mon Sep 17 00:00:00 2001 From: Sagnik Ghosh Date: Sun, 20 Nov 2016 19:50:39 -0800 Subject: [PATCH] Removing templates file for now to make packaging easier. --- _templates.py | 203 -------------------------------------------------- gpcharts.py | 202 +++++++++++++++++++++++++++++++++++++++++++++++++ setup.py | 2 +- 3 files changed, 203 insertions(+), 204 deletions(-) delete mode 100644 _templates.py diff --git a/_templates.py b/_templates.py deleted file mode 100644 index f5a8822..0000000 --- a/_templates.py +++ /dev/null @@ -1,203 +0,0 @@ -#The webpage templates. One each for numeric, datetime, and string as the independent variable. -#Compressed the start and end of the template into 1 string to shorten number of lines of code. - -graphPgTemplateStart = """ - - - - - - -
-
-
- - -""" - diff --git a/gpcharts.py b/gpcharts.py index 0f62b8b..4041831 100644 --- a/gpcharts.py +++ b/gpcharts.py @@ -26,6 +26,208 @@ except ImportError: pass +#The webpage templates. One each for numeric, datetime, and string as the independent variable. +#Compressed the start and end of the template into 1 string to shorten number of lines of code. +graphPgTemplateStart = """ + + + + + + +
+
+
+ + +""" + #helper function to determine template type def templateType(xdata): #check if x axis is numeric, string, or datetime diff --git a/setup.py b/setup.py index d0bc9c9..5122383 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='gpcharts', - version='1.2.1', + version='1.3.0', description='Google Charts API wrapper', long_description=long_description, url='https://github.com/Dfenestrator/GooPyCharts',