forked from adriangalilea/streamlit-shortcuts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (29 loc) · 975 Bytes
/
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
from setuptools import setup, find_packages
import os
def get_version():
version_file = os.path.join(os.path.dirname(__file__), "VERSION")
try:
with open(version_file, "r") as f:
return f.read().strip()
except FileNotFoundError:
raise FileNotFoundError("VERSION file not found. Please create or update it.")
setup(
name="streamlit-shortcuts",
version=get_version(),
author="Adrian Galilea Delgado",
author_email="[email protected]",
packages=find_packages(where="src"),
package_dir={"": "src"},
url="https://github.com/adriangalilea/streamlit-shortcuts",
license="MIT",
extras_require={
"test": ["pytest"],
"dev": ["pre-commit", "black", "flake8"],
},
description="Streamlit keyboard shortcuts for your buttons.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=[
"streamlit",
],
)