-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
setup.py
45 lines (39 loc) · 1.73 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup
long_description = """
Generate stylistic wordclouds, including gradients and icon shapes!
stylecloud is a Python package that leverages the popular [word_cloud](https://github.com/amueller/word_cloud) package, adding useful features to create truly unique word clouds!
* Icon shapes (of any size!) for wordclouds (via [Font Awesome](https://fontawesome.com) 5.13.0 Free, or your own Font Awesome Pro)
* Support for advanced color palettes (via [palettable](https://jiffyclub.github.io/palettable/))
* Manual color selection for text and backgrounds,
* Directional gradients w/ the aforementioned palettes.
* Supports reading text files and CSVs (either one-column w/ texts, or two columns w/ words+weights).
* Command Line Interface!
This package is a more formal implementation of my [stylistic word cloud project](https://minimaxir.com/2016/05/wordclouds/) from 2016.
"""
setup(
name="stylecloud",
packages=["stylecloud"], # this must be the same as the name above
version="0.5.2",
description="Python package + CLI to generate stylistic wordclouds, "
"including gradients and icon shapes!",
long_description=long_description,
long_description_content_type="text/markdown",
author="Max Woolf",
author_email="[email protected]",
url="https://github.com/minimaxir/stylecloud",
keywords=["wordcloud", "data visualization", "text cool stuff"],
classifiers=[],
license="MIT",
entry_points={
"console_scripts": ["stylecloud=stylecloud.stylecloud:stylecloud_cli"],
},
python_requires=">=3.6",
include_package_data=True,
install_requires=[
"wordcloud",
"icon-font-to-png",
"palettable",
"fire",
"matplotlib",
],
)