forked from re-data/re-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.33 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
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="re_data",
version = get_property('__version__', 're_data'),
author="redata-team",
author_email="[email protected]",
description="re_data - data quality framework",
license="MIT",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/re-data/re-data",
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,<2.0.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": ["re_data=re_data.command_line:main"],
},
packages=find_packages(exclude=("tests",))
)