提交 012a6515 编写于 作者: M Maxime Beauchemin

v0.7.0

上级 b472cad5
...@@ -131,12 +131,6 @@ class ColorFactory(object): ...@@ -131,12 +131,6 @@ class ColorFactory(object):
self.hash_based = hash_based self.hash_based = hash_based
def get(self, s): def get(self, s):
"""
Get a consistent color from the same string using a hash function
>>> color("foo")
'#FF5A5F'
"""
if self.hash_based: if self.hash_based:
s = s.encode('utf-8') s = s.encode('utf-8')
h = hashlib.md5(s) h = hashlib.md5(s)
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
version = '0.6.1' version = '0.7.0'
setup( setup(
name='panoramix', name='panoramix',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册