From b9822b1d10e2820cb4a62cf47869130b1eeb4def Mon Sep 17 00:00:00 2001
From: Luke Campagnola <>
Date: Thu, 27 Dec 2012 03:13:35 -0500
Subject: [PATCH] Fixed doc version (again) Added debian control files

---
 doc/source/conf.py    |  4 ++--
 doc/source/index.rst  |  4 ++--
 pyqtgraph/__init__.py |  2 +-
 setup.py              |  2 +-
 tools/DEBIAN/control  | 13 +++++++++++++
 tools/DEBIAN/postrm   |  2 ++
 6 files changed, 21 insertions(+), 6 deletions(-)
 create mode 100644 tools/DEBIAN/control
 create mode 100755 tools/DEBIAN/postrm

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 236cb807..4a275cd1 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -49,9 +49,9 @@ copyright = '2011, Luke Campagnola'
 # built documents.
 #
 # The short X.Y version.
-version = ''
+version = '0.9.0'
 # The full version, including alpha/beta/rc tags.
-release = ''
+release = '0.9.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 5d606061..cc89f3d8 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -3,8 +3,8 @@
    You can adapt this file completely to your liking, but it should at least
    contain the root `toctree` directive.
 
-Welcome to the documentation for pyqtgraph 1.8
-==============================================
+Welcome to the documentation for pyqtgraph
+==========================================
 
 Contents:
 
diff --git a/pyqtgraph/__init__.py b/pyqtgraph/__init__.py
index 93d9f7b8..2998be79 100644
--- a/pyqtgraph/__init__.py
+++ b/pyqtgraph/__init__.py
@@ -4,7 +4,7 @@ PyQtGraph - Scientific Graphics and GUI Library for Python
 www.pyqtgraph.org
 """
 
-__version__ = None
+__version__ = '0.9.0'
 
 ### import all the goodies and add some helper functions for easy CLI use
 
diff --git a/setup.py b/setup.py
index 64d22ba2..5b608eda 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ if os.path.isdir(buildPath):
     distutils.dir_util.remove_tree(buildPath)
 
 setup(name='pyqtgraph',
-    version='',
+    version='0.9.0',
     description='Scientific Graphics and GUI Library for Python',
     long_description="""\
 PyQtGraph is a pure-python graphics and GUI library built on PyQt4/PySide and numpy. 
diff --git a/tools/DEBIAN/control b/tools/DEBIAN/control
new file mode 100644
index 00000000..d7c74bc7
--- /dev/null
+++ b/tools/DEBIAN/control
@@ -0,0 +1,13 @@
+Package: python-pyqtgraph
+Version: 0.9.0
+Section: python
+Priority: optional
+Architecture: all
+Essential: no
+Installed-Size: 5048
+Maintainer: Luke Campagnola <luke.campagnola@gmail.com>
+Homepage: http://luke.campagnola.me/code/pyqtgraph
+Depends: python (>= 2.6), python-qt4 | python-pyside, python-scipy, python-numpy
+Suggests: python-opengl, python-qt4-gl
+Description: Scientific Graphics and GUI Library for Python
+ PyQtGraph is a pure-python graphics and GUI library built on PyQt4 and numpy. It is intended for use in mathematics / scientific / engineering applications. Despite being written entirely in python, the library is very fast due to its heavy leverage of numpy for number crunching and Qt's GraphicsView framework for fast display.
diff --git a/tools/DEBIAN/postrm b/tools/DEBIAN/postrm
new file mode 100755
index 00000000..35a4685c
--- /dev/null
+++ b/tools/DEBIAN/postrm
@@ -0,0 +1,2 @@
+#!/bin/sh
+rm -rf /usr/lib/python2.7/dist-packages/pyqtgraph
-- 
GitLab