-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
44 lines (39 loc) · 1.36 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
import re
from pathlib import Path
from setuptools import find_packages, setup
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="johannes.rieke@gmail.com",
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 >= 0.84.0",
"pandas",
"altair",
"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",
],
)