Skip to content
Browse files

build and ship docs

in separate pycassa-doc package
  • Loading branch information...
1 parent 59ed39c commit 83eeda20dc07cf749a3f3eb740faf8cb48966411 @thepaul thepaul committed Jun 14, 2011
View
19 debian/control
@@ -2,7 +2,7 @@ Source: pycassa
Section: python
Priority: optional
Maintainer: paul cannon <paul@datastax.com>
-Build-Depends: debhelper (>= 5), python-all, cdbs, python-support
+Build-Depends: debhelper (>= 5), python-all, cdbs, python-support, python-sphinx
Standards-Version: 3.9.1
Package: python-pycassa
@@ -20,3 +20,20 @@ Description: Client library for Apache Cassandra
* A class for mapping classes to Cassandra column families
.
This version is compatible with Cassandra 0.7 and 0.8.
+
+Package: pycassa-doc
+Architecture: all
+Suggests: python-pycassa
+Description: Documentation for the Pycassa library
+ Pycassa is a client library for Apache Cassandra with the following
+ features:
+ .
+ * Automatic failover and operation retries
+ * Connection pooling
+ * Multithreading support
+ * A batch interface
+ * A class for mapping classes to Cassandra column families
+ .
+ This package contains the documentation for Pycassa, including a
+ tutorial, an API reference, a HOWTO for the pycassaShell tool, and
+ some usage examples.
View
1 debian/pycassa-doc.install
@@ -0,0 +1 @@
+doc/_build/*/* /usr/share/doc/pycassa-doc/manual/
View
7 debian/python-pycassa.README.Debian
@@ -0,0 +1,7 @@
+python-pycassa for Debian
+-------------------------
+
+The Pycassa manual (including the tutorial, howtos, and API reference
+documentation) can be found in the pycassa-doc package.
+
+ -- paul cannon <paul@datastax.com> Tue, 14 Jun 2011 15:44:54 -0500
View
0 debian/docs → debian/python-pycassa.docs
File renamed without changes.
View
7 debian/rules
@@ -6,3 +6,10 @@ DEB_PYTHON_SYSTEM = pysupport
include /usr/share/cdbs/1/class/python-distutils.mk
DEB_INSTALL_CHANGELOGS_python-pycassa := CHANGES
+
+common-post-build-indep::
+ python setup.py doc
+
+clean::
+ $(RM) -r doc/_build
+ $(RM) debian/pycompat

0 comments on commit 83eeda2

Please sign in to comment.
Something went wrong with that request. Please try again.