-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
51 lines (45 loc) · 1.93 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
46
47
48
49
50
51
from pathlib import Path
import setuptools
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
def get_version(rel_path):
with open(rel_path, "r", encoding="UTF-8") as f:
for line in f:
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
raise RuntimeError("Unable to find version string.")
setuptools.setup(
name="st-supabase-connection",
version=get_version("src/st_supabase_connection/__init__.py"),
url="https://github.com/SiddhantSadangi/st_supabase_connection",
author="Siddhant Sadangi",
author_email="siddhant.sadangi@gmail.com",
description="A Streamlit connection component for Supabase.",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Homepage": "https://github.com/SiddhantSadangi/st_supabase_connection",
"Documentation": "https://github.com/SiddhantSadangi/st_supabase_connection/blob/main/README.md",
"Funding": "https://www.buymeacoffee.com/siddhantsadangi",
},
packages=setuptools.find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
classifiers=[
"Environment :: Plugins",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: User Interfaces",
],
keywords=["streamlit", "supabase", "connection", "integration"],
python_requires=">=3.8",
install_requires=["streamlit>=1.28", "supabase"],
)