def clean_word(word):
""" Return the word without excessive blank spaces, underscores and
characters causing problem to exporters"""
- word = re.sub("^[^\w]+", "", word) # trim the beginning
- word = re.sub("[^\w]+$", "", word) # trim the end
- word = re.sub("_+", "_", word) # squeeze continuous _ to one _
- word = re.sub("^[^\w]+", "", word) # trim the beginning _
+ word = re.sub(r"^[^\w]+", "", word) # trim the beginning
+ word = re.sub(r"[^\w]+$", "", word) # trim the end
+ word = re.sub(r"_+", "_", word) # squeeze continuous _ to one _
+ word = re.sub(r"^[^\w]+", "", word) # trim the beginning _
# word = string.replace(word,' ','_')
# word = string.capitalize(word)
dict = '&[];"*:,'
long_description=open('README.rst').read(),
author="Guillaume Pellerin",
author_email="yomguy@parisson.com",
- version='0.9.1',
+ version='0.9.2',
install_requires=[
'setuptools',
'wheel',
'python-shout==0.2.8',
'python-twitter==3.5',
'mutagen==1.45.1',
- 'pyliblo3==0.12.0',
- 'pycurl==7.44.1',
- 'pyyaml==6.0.1',
+ 'pyliblo3==0.16.4',
+ 'pycurl==7.45.6',
+ 'pyyaml==6.0.2',
'mysqlclient==2.0.3',
],
platforms=['OS Independent'],