summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HACKING14
-rw-r--r--docs/development.rst4
-rw-r--r--docs/index.rst6
-rw-r--r--docs/install.rst2
-rw-r--r--docs/intro.rst31
-rw-r--r--tablib/core.py1
-rwxr-xr-xtest_suite.sh5
-rw-r--r--tox.ini6
8 files changed, 55 insertions, 14 deletions
diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..018f9b7
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,14 @@
+Where possible, please follow PEP8 with regard to coding style. Sometimes the line
+length restriction is too hard to follow, so don't bend over backwards there.
+
+Triple-quotes should always be """, single quotes are ' unless using "
+would result in less escaping within the string.
+
+All modules, functions, and methods should be well documented reStructuredText for
+Sphinx AutoDoc.
+
+All functionality should be available in pure Python. Optional C (via Cython)
+implementations may be written for performance reasons, but should never
+replace the Python implementation.
+
+Lastly, don't take yourself too seriously :) \ No newline at end of file
diff --git a/docs/development.rst b/docs/development.rst
index 77af330..6255d5e 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -87,7 +87,7 @@ Adding New Formats
Tablib welcomes new format additions! Format suggestions include:
-* Tab Seperated Values
+* Tab Separated Values
* MySQL Dump
* HTML Table
@@ -178,7 +178,7 @@ Every commit made to the **develop** branch is automatically tested and inspecte
Anyone may view the build status and history at any time.
- http://git.kennethreitz.com/ci/
+ http://ci.kennethreitz.com/
If you are trustworthy and plan to contribute to tablib on a regular basis, please contact `Kenneth Reitz`_ to get an account on the Hudson Server.
diff --git a/docs/index.rst b/docs/index.rst
index 4726d7b..77ce7cf 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -3,8 +3,10 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
-Tablib: Pythonic Tabular Data
-=============================
+Tablib: Pythonic Tabular Datasets
+=================================
+
+Release |version|.
.. Contents:
..
diff --git a/docs/install.rst b/docs/install.rst
index 9b9a519..b6c3f31 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -55,7 +55,7 @@ However, if performance is important to you (and it should be), you can install
$ pip install PyYAML
-If you're using Python 2.5 (currently unsupported), you should also install the **simplejson** module. If you're using Python 2.6+, the built-in **json** module is already optimized and in use. ::
+If you're using Python 2.5, you should also install the **simplejson** module (pip will do this for you). If you're using Python 2.6+, the built-in **json** module is already optimized and in use. ::
$ pip install simplejson
diff --git a/docs/intro.rst b/docs/intro.rst
index c2d75b2..bc4256a 100644
--- a/docs/intro.rst
+++ b/docs/intro.rst
@@ -36,6 +36,31 @@ Tablib is released under terms of `The MIT License`_.
.. _`The MIT License`: http://www.opensource.org/licenses/mit-license.php
+.. _license:
+
+Tablib License
+--------------
+
+Copyright (c) 2011 Kenneth Reitz.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
.. _pythonsupport:
@@ -44,8 +69,10 @@ Pythons Supported
At this time, the following Python platforms are officially supported:
-* Python 2.6
-* Python 2.7
+* cPython 2.5
+* cPython 2.6
+* cPython 2.7
+* PyPy-c 1.4
Support for other Pythons will be rolled out soon.
diff --git a/tablib/core.py b/tablib/core.py
index dfbcb6a..548de55 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -26,6 +26,7 @@ __build__ = 0x000904
__author__ = 'Kenneth Reitz'
__license__ = 'MIT'
__copyright__ = 'Copyright 2011 Kenneth Reitz'
+__docformat__ = 'restructuredtext'
class Row(object):
diff --git a/test_suite.sh b/test_suite.sh
deleted file mode 100755
index 5a1e7be..0000000
--- a/test_suite.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-rm -fr nosetests.xml
-tox
-# coverage xml
-rm -fr pylint.txt
-# pylint -d W0312 -d W0212 -d E1101 -d E0202 -d W0102 -d E0102 -f parseable ./tablib > pylint.txt || true \ No newline at end of file
diff --git a/tox.ini b/tox.ini
index 9cef9b3..ba10930 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,8 @@ envlist = py24,py25,py26,py27
[testenv]
commands=py.test --junitxml=junit-{envname}.xml
deps =
- nose
simplejson
- pytest \ No newline at end of file
+ pytest
+
+[testenv:pypy]
+basepython=/usr/bin/pypy-c