-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (40 loc) · 1.37 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
import pathlib
from setuptools import find_packages, setup
import re
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text(encoding='utf-8')
def get_property(prop, project):
result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), open(project + '/__init__.py').read())
return result.group(1)
setup(
name="stealthward",
version=get_property('__version__', 'stealthward'),
author="ciusji",
author_email="bqjimaster@gmail.com",
description="Stealthward - data quality framework | powered by GuinsooLab",
license="MIT",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/GuinsooLab/stealthward.git",
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"click>=8,<9",
"dbt-core>=1.0.0,<=1.2.0",
"yachalk>=0.1.0,<0.2.0",
"tabulate==0.8.9",
"jsonschema==3.0.0",
"analytics-python",
],
extras_require={"dev": ["isort", "black", "pre-commit"]},
entry_points={
"console_scripts": ["stealthward=stealthward.command_line:main"],
},
packages=find_packages(exclude=("tests",))
)