rabin 1 year ago
parent
commit
6538a4251b
2 changed files with 3 additions and 3 deletions
  1. 2 2
      README.rst
  2. 1 1
      setup.py

+ 2 - 2
README.rst

@@ -4,5 +4,5 @@
 框架:gevent+tornado+demeter类库
 
 安装:
-pip install -U git+http://git.dever.cc:3000/python/demeter.git
-pip3 install -U git+http://git.dever.cc:3000/python/demeter.git
+pip install -U git+https://github.com/shemic/demeter.git
+pip3 install -U git+https://github.com/shemic/demeter.git

+ 1 - 1
setup.py

@@ -10,7 +10,7 @@ import demeter
 
 def read(filename):
     """Read and return `filename` in root dir of project and return string"""
-    return codecs.open(os.path.join(__DIR__, filename), 'r').read()
+    return codecs.open(os.path.join(__DIR__, filename), 'r', 'utf-8', errors='ignore').read()
 
 
 install_requires = read("requirements.txt").split()