forked from jrieke/streamlit-analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.38 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
from pathlib import Path
import re
from setuptools import setup, find_packages
here = Path(__file__).resolve().parent
# Read version from streamlit_analytics/__init__.py
version_re = r"^__version__ = ['\"]([^'\"]*)['\"]"
init_text = (here / "streamlit_analytics" / "__init__.py").read_text()
version = re.findall(version_re, init_text)[0]
# Read README.md.
readme = (here / "README.md").read_text()
setup(
name="streamlit-analytics",
version=version,
author="Johannes Rieke",
author_email="[email protected]",
description="Track & visualize user interactions with your streamlit app",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/jrieke/streamlit-analytics",
license="MIT",
python_requires=">=3.6",
packages=find_packages(exclude=("tests", "docs", "examples")),
include_package_data=True,
install_requires=[
"streamlit",
"pandas",
"altair",
"streamlit_metrics",
"google-cloud-firestore",
],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
],
)