forked from amueller/word_cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
25 lines (23 loc) · 857 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import re
import io
from setuptools import setup
from setuptools.extension import Extension
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
io.open('wordcloud/__init__.py', encoding='utf_8').read()
).group(1)
setup(
author="Andreas Mueller",
author_email="[email protected]",
name='wordcloud',
version=__version__,
url='https://github.com/amueller/word_cloud',
description='A little word cloud generator',
license='MIT',
install_requires=['matplotlib', 'numpy>=1.6.1', 'pillow'],
ext_modules=[Extension("wordcloud.query_integral_image",
["wordcloud/query_integral_image.c"])],
scripts=['wordcloud/wordcloud_cli.py'],
packages=['wordcloud'],
package_data={'wordcloud': ['stopwords', 'DroidSansMono.ttf']}
)