From 7caa7af0107f072756aa815d701e4eb04e2a69c4 Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Mon, 7 Sep 2015 16:40:27 +0900 Subject: [PATCH] update readme --- README.markdown | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/README.markdown b/README.markdown index 892dc76..c4f832d 100644 --- a/README.markdown +++ b/README.markdown @@ -1,5 +1,3 @@ - - cChardet ======== cChardet is high speed universal character encoding detector. - binding to [charsetdetect](https://bitbucket.org/medoc/uchardet-enhanced/overview). @@ -39,9 +37,9 @@ cChardet is high speed universal character encoding detector. - binding to [char ## Requires * Cython: [http://www.cython.org/](http://www.cython.org/) - + e.g.) Ubuntu 12.04 - + ```bash $ sudo apt-get install build-essential python-dev cython ``` @@ -53,13 +51,13 @@ $ cd /tmp $ git clone git://github.com/PyYoshi/cChardet.git $ cd cChardet $ python setup.py build -$ sudo python setup.py install +$ python setup.py install ``` or ```bash -$ sudo easy_install cchardet +$ pip install -U cchardet ``` ## Example @@ -76,13 +74,13 @@ print(result) ## Test ```bash -$ sudo easy_install or pip install -U chardet nose +$ pip install -U chardet nose $ cd test $ nosetests --nocapture tests.py ``` ## Benchmark -code: [tests.TestCchardetSpeed](https://github.com/PyYoshi/cChardet/blob/master/test/tests.py#L461) +code: [tests.TestCchardetSpeed](https://github.com/PyYoshi/cChardet/blob/master/test/tests.py#L468) sample: [test/testdata/wikipediaJa_One_Thousand_and_One_Nights_SJIS.txt](https://github.com/PyYoshi/cChardet/blob/master/test/testdata/wikipediaJa_One_Thousand_and_One_Nights_SJIS.txt) @@ -118,8 +116,5 @@ Platform: Kubuntu 12.04 amd64, Python 2.7.3 64-bit * [Cython](http://www.cython.org/) ## Contact -[My blog](http://blog.remu.biz) [Issues](https://github.com/PyYoshi/cChardet/issues?page=1&state=open) - -Sorry for my poor English :) \ No newline at end of file