-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
39 lines (35 loc) · 1.15 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
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", "black", "flake8"],
"dev": ["pre-commit", "black", "flake8"],
},
extras_require_test=["pytest", "black", "flake8"],
description="Streamlit keyboard shortcuts for your buttons.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=[
"streamlit",
],
entry_points={
"console_scripts": [
"run-checks=streamlit_shortcuts.scripts:run_checks",
],
},
)