|
1 | 1 | phonenumbers Python Library |
2 | 2 | =========================== |
3 | 3 |
|
4 | | -This is a Python port of libphonenumber, originally from: |
5 | | - [http://code.google.com/p/libphonenumber/](http://code.google.com/p/libphonenumber/). |
| 4 | +This is a Python port of libphonenumber, originally from |
| 5 | +[http://code.google.com/p/libphonenumber/](http://code.google.com/p/libphonenumber/). |
| 6 | +It supports Python 2.5-2.7 and Python 3.x (in the same codebase, with no |
| 7 | +[2to3](http://docs.python.org/2/library/2to3.html) conversion needed). |
6 | 8 |
|
7 | | -Original Java code is Copyright (C) 2009-2011 The Libphonenumber Authors |
| 9 | +Original Java code is Copyright (C) 2009-2013 The Libphonenumber Authors |
8 | 10 |
|
9 | 11 | Example Usage |
10 | 12 | ------------- |
@@ -193,18 +195,3 @@ Project Layout |
193 | 195 | changes to the master metadata need to be incorporated. |
194 | 196 | * The `tools/` directory holds the tools that are used to process upstream |
195 | 197 | changes to the master metadata. |
196 | | - |
197 | | -Python 3.x Support |
198 | | ------------------- |
199 | | - |
200 | | -There are currently two ways to get a Python 3 version of the library. |
201 | | - |
202 | | -* Check out the main branch, and run `make python3` from the `tools/python` directory. This will produce a new |
203 | | - top-level `python3/` directory containing the Python 3 version of the library, as produced by |
204 | | - [2to3](http://docs.python.org/2/library/2to3.html). |
205 | | -* Check out the (somewhat experimental) `python3` branch, which holds a unified version of the library that runs |
206 | | - under both Python 2.x (x >= 5) and Python 3.x. |
207 | | - |
208 | | -At some point the `python3` branch will probably become the main branch, but at the moment it sometimes lags behind the |
209 | | -main branch. Please let me know if you're using the `python3` branch in anger, so that I can know to keep it more |
210 | | -up-to-date (and possibly accelerate the plans to make it the mainline version). |
0 commit comments