Browse Source

Fix version -> 20

pull/8/head
Florian Mounier 13 years ago
parent
commit
2e71911b99
  1. 4
      pygal/__init__.py
  2. 1
      pygal/_version.py
  3. 2
      pygal/svg.py
  4. 9
      setup.py

4
pygal/__init__.py

@ -16,7 +16,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with pygal. If not, see <http://www.gnu.org/licenses/>.
from pygal._version import __version__
__version__ = '0.9.20'
from pygal.graph.bar import Bar
from pygal.graph.horizontal import HorizontalBar
from pygal.graph.stackedbar import StackedBar

1
pygal/_version.py

@ -1 +0,0 @@
__version__ = '0.9.19'

2
pygal/svg.py

@ -19,7 +19,7 @@
import os
from lxml import etree
from pygal.util import template
from pygal._version import __version__
from pygal import __version__
class Svg(object):

9
setup.py

@ -17,8 +17,13 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with pygal. If not, see <http://www.gnu.org/licenses/>.
import os
import re
from setuptools import setup, find_packages
from pygal._version import __version__
ROOT = os.path.dirname(__file__)
with open(os.path.join(ROOT, 'pygal', '__init__.py')) as fd:
__version__ = re.search("__version__ = '([^']+)'", fd.read()).group(1)
setup(
name="pygal",
@ -34,7 +39,7 @@ setup(
scripts=["pygal_gen.py"],
keywords=[
"svg", "chart", "graph", "diagram", "plot", "histogram", "kiviat"],
tests_require=["pytest", "pyquery", "flask"],
tests_require=["pytest", "pyquery", "flask", "cairosvg"],
package_data={'pygal': ['css/*', 'js/*']},
install_requires=['lxml'],
classifiers=[

Loading…
Cancel
Save