-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·36 lines (29 loc) · 962 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
34
35
36
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
def get_version():
version_file_path = os.path.join(here, "package_version.txt")
if not os.path.isfile(version_file_path):
return "0.0.0"
version = None
with open(version_file_path, "r") as raw:
version = raw.read()
return version
setup(
name="airflow_db_logger",
version=get_version(),
description="An airflow logger that stores its results in a database given an SQLAlchemy connection.",
long_description="Please see readme.md @ https://github.com/LamaAni/AirflowDBLogger",
classifiers=[],
author="Zav Shotan",
author_email="",
url="https://github.com/LamaAni/AirflowDBLogger",
packages=["airflow_db_logger"],
platforms="any",
license="docs/LICENSE",
install_requires=[],
python_requires=">=3.6",
include_package_data=True,
)