#56 minors
authoradam <adamansky@gmail.com>
Wed, 29 May 2013 08:59:21 +0000 (15:59 +0700)
committeradam <adamansky@gmail.com>
Wed, 29 May 2013 08:59:21 +0000 (15:59 +0700)
README.md
pyejdb/README.md
pyejdb/pyejdb/__init__.py
pyejdb/setup.py

index 0e50070..de0e6ee 100644 (file)
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ JSON representation of queries and data implemented with API based on [C BSON](h
 
 News
 ===============================
+* `2013-05-29` **[EJDB Python 2.7.x binding available](https://github.com/Softmotions/ejdb/blob/master/pyejdb/)**
 * `2013-05-06` **[Ruby binding available](https://github.com/Softmotions/ejdb/blob/master/rbejdb/README.md)**
 * `2013-05-02` **[NodeJS win32 module available](https://github.com/Softmotions/ejdb/blob/master/tcejdb/WIN32.md#ejdb-nodejs-module-installation)**
 * `2013-04-25` **[EJDB and TokyoCabinet API ported to Windows](https://github.com/Softmotions/ejdb/blob/master/tcejdb/WIN32.md)**
@@ -42,7 +43,7 @@ Documentation
     * [Installation](#installation)
     * [Samples](#ejdb-nodejs-samples)
     * [NodeJS API](#ejdb-nodejs-api)
-* **[Python3 binding](https://github.com/Softmotions/ejdb/blob/master/pyejdb/)**
+* **[Python 2.7/3.x binding](https://github.com/Softmotions/ejdb/blob/master/pyejdb/)**
 * **[Lua binding](https://github.com/Softmotions/ejdb/blob/master/luaejdb/)**
 * **[Java binding](https://github.com/Softmotions/ejdb/blob/master/jejdb/)**
 * **[Ruby binding](https://github.com/Softmotions/ejdb/blob/master/rbejdb/)**
@@ -595,7 +596,7 @@ Drop index of String|Number|Array type for JSON field path.
 -----------------------------------
 
 
-EJDB Python3 binding
+EJDB Python binding
 ==================================
 
 One snippet intro
@@ -636,7 +637,7 @@ with ejdb.find("parrots2", {"likes" : "toys"},
 
 ejdb.close()
 ```
-**[EJDB Python3 binding page](https://github.com/Softmotions/ejdb/blob/master/pyejdb/README.md)**
+**[EJDB Python 2.7/3.x binding page](https://github.com/Softmotions/ejdb/blob/master/pyejdb/README.md)**
 
 EJDB Lua binding
 ==================================
index 3c940b8..22e0e68 100644 (file)
@@ -1,4 +1,4 @@
-Embedded JSON database library Python3 binding
+Embedded JSON database library Python 2.7/3.x binding
 ============================================================
 
 Installation
@@ -8,18 +8,18 @@ Installation
 **Required tools/system libraries:**
 
 * gcc
-* **Python3 >= 3.2**
+* **Python3 >= 3.2 or Python2: 2.7.x**
 * EJDB C library **libtcejdb** ([from sources](https://github.com/Softmotions/ejdb#manual-installation) or as [debian packages](https://github.com/Softmotions/ejdb/wiki/Debian-Ubuntu-installation))
 
 **(A) Using pip**
 
-`pip` for python3 should be installed (`sudo apt-get install python3-pip`)
+`pip` for python3 or python2 should be installed (`sudo apt-get install python3-pip` | `sudo apt-get install python-pip`)
 
 ```
-   sudo pip-3.2 install pyejdb
+   sudo pip install pyejdb
 
 Upgrading:
-   sudo pip-3.2 install pyejdb --upgrade
+   sudo pip install pyejdb --upgrade
 ```
 
 **(B) Installing directly from sources**
@@ -31,7 +31,7 @@ sudo python3 ./setup.py install
 ```
 
 
-**(C) Installing on Ubuntu/Debian**
+**(C) Installing on Ubuntu/Debian (only for Python3.2)**
 
 ```
 sudo add-apt-repository ppa:adamansky/ejdb
index 14d7f0b..47d4928 100644 (file)
@@ -51,7 +51,7 @@ __all__ = [
     "libejdb_version"
 ]
 
-version_tuple = (1, 0, 8)
+version_tuple = (1, 0, 9)
 
 def get_version_string():
     return '.'.join(map(str, version_tuple))
index b7c5fb7..ca8562d 100755 (executable)
@@ -102,10 +102,10 @@ class build_ext(_build_ext):
 
 setup(
     name="pyejdb",
-    version="1.0.8",
+    version="1.0.9",
     url="http://ejdb.org",
     keywords=["ejdb", "tokyocabinet", "nosql", "database", "storage", "embedded", "mongodb", "json"],
-    description="Python3 binding for EJDB database engine.",
+    description="Python 2.7/3.x binding for EJDB database engine.",
     long_description=open("README.md", "r").read(),
     author="Adamansky Anton",
     author_email="adamansky@gmail.com",