-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
36 lines (29 loc) · 1.05 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
import setuptools
from typing import List
import glob
import sql_dependency_graph
def get_scripts_from_bin() -> List[str]:
"""Get all local scripts from bin so they are included in the package."""
return glob.glob("bin/*")
def get_package_description() -> str:
"""Returns a description of this package from the markdown files."""
with open("README.md", "r") as stream:
readme: str = stream.read()
return readme
setuptools.setup(
name="sql_dependency_graph",
version=sql_dependency_graph.__version__,
author="Colin Manko",
author_email="[email protected]",
description="A dependency graph visualizer for sql queries.",
long_description=get_package_description(),
long_description_content_type="text/markdown",
url="https://github.com/LearnWithHomer/sql_dependency_graph",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
scripts=get_scripts_from_bin(),
python_requires=">=3.11",
)