This repository was archived by the owner on Apr 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
87 lines (81 loc) · 2.72 KB
/
Copy pathsetup.py
File metadata and controls
87 lines (81 loc) · 2.72 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import re
package_name = "streamlit-base-extras"
version_init_file = "streamlitextras/__init__.py"
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open(version_init_file, "r") as file:
regex_version = r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]'
version = re.search(regex_version, file.read(), re.MULTILINE).group(1)
with open("README.md", "r") as f:
readme = f.read()
setup(
name=package_name,
version=version,
author="blipk",
author_email="blipk+@github.com",
description="Make building with streamlit easier.",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/blipk/streamlitextras",
packages=find_packages(),
include_package_data=True,
download_url=f"https://github.com/blipk/streamlitextras/archive/{version}.tar.gz",
project_urls={
"Changelog": "https://github.com/blipk/streamlitextras/commits/",
"Documentation": "https://streamlitextras.readthedocs.io/en/stable/index.html",
},
keywords=[
"streamlitextras",
"streamlit",
"router",
"authenticator",
"javascript",
"cookie",
"thread",
],
license="MIT license",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Browsers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
],
install_requires=[
"streamlit >= 1.23.1",
"streamlit-javascript",
"loguru",
"requests",
"gcloud",
"pyjwt",
"firebase",
"pyrebase4",
"sseclient",
"PyCryptodome",
"requests_toolbelt",
"firebase-admin",
"google-cloud-storage",
],
extras_require={
"dev": [
# Docs
"Sphinx==5.2.3 ; python_version>='3.10'",
"sphinx-autobuild==2021.3.14 ; python_version>='3.10'",
"sphinx-rtd-theme==1.0.0 ; python_version>='3.10'",
"docutils==0.16 ; python_version>='3.10'",
"sphinxcontrib-apidoc ; python_version>='3.10'",
]
},
python_requires=">=3.10",
)