From 716228580b50afe2e3b663702752de51ad6ef283 Mon Sep 17 00:00:00 2001 From: codeforkjeff Date: Mon, 9 Nov 2020 21:01:13 -0800 Subject: [PATCH] bits needed for packaging --- .gitignore | 3 +++ dbt/__init__.py | 1 + dbt/adapters/__init__.py | 1 + dbt/include/__init__.py | 1 + setup.py | 13 ++++++++++++- 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 dbt/__init__.py create mode 100644 dbt/adapters/__init__.py create mode 100644 dbt/include/__init__.py diff --git a/.gitignore b/.gitignore index ff1cbf7..6b1b58a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Setuptools distribution folder. /dist/ +/build # Python egg metadata, regenerated from source files by setuptools. /*.egg-info @@ -11,3 +12,5 @@ env/ # sublime text *.sublime-* + +.idea/ diff --git a/dbt/__init__.py b/dbt/__init__.py new file mode 100644 index 0000000..69e3be5 --- /dev/null +++ b/dbt/__init__.py @@ -0,0 +1 @@ +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/dbt/adapters/__init__.py b/dbt/adapters/__init__.py new file mode 100644 index 0000000..69e3be5 --- /dev/null +++ b/dbt/adapters/__init__.py @@ -0,0 +1 @@ +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/dbt/include/__init__.py b/dbt/include/__init__.py new file mode 100644 index 0000000..69e3be5 --- /dev/null +++ b/dbt/include/__init__.py @@ -0,0 +1 @@ +__path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/setup.py b/setup.py index b9620e2..ac38a0d 100644 --- a/setup.py +++ b/setup.py @@ -18,10 +18,21 @@ package_data={ 'dbt': [ 'include/sqlite/macros/*.sql', + 'include/sqlite/macros/**/*.sql', + 'include/sqlite/macros/**/**/*.sql', 'include/sqlite/dbt_project.yml', ] }, install_requires=[ - "dbt-core>=0.18.0", + "dbt-core~=0.18.0", + ], + classifiers=[ + 'Development Status :: 3 - Alpha', + + 'License :: OSI Approved :: Apache Software License', + + 'Operating System :: Microsoft :: Windows', + 'Operating System :: MacOS :: MacOS X', + 'Operating System :: POSIX :: Linux' ] )