forked from palmetto/palm-dbt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (35 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
from distutils.core import setup
from pathlib import Path
import sys
# require version of setuptools that supports find_namespace_packages
from setuptools import setup
try:
from setuptools import find_namespace_packages
except ImportError:
# the user has a downlevel version of setuptools.
print('Error: palm requires setuptools v40.1.0 or higher.')
print(
'Please upgrade setuptools with "pip install --upgrade setuptools" and try again'
)
sys.exit(1)
# User-friendly description from README.md
this_directory = Path(__file__).parent
long_description = Path(this_directory, 'README.md').read_text()
setup(
name='palm-dbt',
version='0.8.0',
description='dbt extension for Palm CLI',
long_description=long_description,
long_description_content_type='text/markdown',
author='Palmetto - Data & Analytics team',
author_email='[email protected]',
url='https://github.com/palmetto/palm-dbt',
packages=find_namespace_packages(include=['palm', 'palm.*']),
package_data={'': ['*.md', '*.sql', '*.yaml', '*.yml', '*.txt']},
install_requires=Path("palm/plugins/dbt/requirements.txt").read_text().splitlines(),
license='Apache License 2.0',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
],
)