From 5c4d15be9ee905daf74c363f5778f65f25af461b Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Wed, 15 Feb 2012 16:05:27 +0100 Subject: [PATCH] Add MANIFEST.in (seriously ?) --- .gitignore | 1 + MANIFEST.in | 1 + README | 24 ++++++++++++++++++++++++ README.md | 1 + pygal/__init__.py | 1 + relauncher | 3 ++- setup.py | 8 ++++---- 7 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 MANIFEST.in create mode 100644 README create mode 120000 README.md diff --git a/.gitignore b/.gitignore index 4d37790..571ce43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.svg .livereload +dist diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..2afaac3 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include pygal/css/*.css diff --git a/README b/README new file mode 100644 index 0000000..450575d --- /dev/null +++ b/README @@ -0,0 +1,24 @@ +Pygal +===== + +A python svg graph plotting library + + +License +------- + +Copyright © 2012 Kozea +LGPLv3: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . diff --git a/README.md b/README.md new file mode 120000 index 0000000..100b938 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +README \ No newline at end of file diff --git a/pygal/__init__.py b/pygal/__init__.py index b5dfb9e..6f52c21 100644 --- a/pygal/__init__.py +++ b/pygal/__init__.py @@ -16,6 +16,7 @@ # # You should have received a copy of the GNU Lesser General Public License # along with pygal. If not, see . +__version__ = '0.9.2' from collections import namedtuple from pygal.graph.bar import Bar diff --git a/relauncher b/relauncher index 1ee37f2..4ea9119 100755 --- a/relauncher +++ b/relauncher @@ -1,5 +1,6 @@ #!/bin/zsh livereload& -reload ./out.py **/*.py& +reload ./demo/simple_test.py **/*.py& python -m SimpleHTTPServer 1515& +sleep 1 chromium http://localhost:1515/& diff --git a/setup.py b/setup.py index eae56ea..0bf5802 100644 --- a/setup.py +++ b/setup.py @@ -17,18 +17,18 @@ # # You should have received a copy of the GNU Lesser General Public License # along with pygal. If not, see . -from setuptools import setup - +from setuptools import setup, find_packages +import pygal setup( name="pygal", - version='0.9', + version=pygal.__version__, description="A python svg graph plotting library", author="Kozea", author_email="florian.mounier@kozea.fr", license="GNU LGPL v3", platforms="Any", - packages=['pygal'], + packages=find_packages(), provides=['pygal'], keywords=["svg", "graph", "diagram", "plot", "histogram", "kiviat"], tests_require=["pytest", "flask"],