-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
35 lines (31 loc) · 1.06 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
import setuptools
from os.path import dirname
from os.path import join
def readme() -> str:
"""Utility function to read the README file.
Used for the long_description. It's nice, because now 1) we have a top
level README file and 2) it's easier to type in the README file than to put
a raw string in below.
:return: content of README.md
"""
return open(join(dirname(__file__), "README.md")).read()
setuptools.setup(
name="st_wordcloud",
version="0.0.7",
author="Andell",
author_email="[email protected]",
description="st_wordcloud React component for Streamlit",
packages=setuptools.find_packages(),
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/drogbadvc/st-wordcloud",
include_package_data=True,
classifiers=[],
python_requires=">=3.7",
install_requires=[
# By definition, a Custom Component depends on Streamlit.
# If your component has other Python dependencies, list
# them here.
"streamlit >= 0.63",
],
)