Skip to content

Commit

Permalink
only fail on install, not build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Wigley committed Nov 5, 2021
1 parent e1452c1 commit cf3089d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
url="https://github.com/dbt-labs/dbt-core",
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Development Status :: 7 - Inactive',

'License :: OSI Approved :: Apache Software License',

Expand All @@ -59,11 +59,12 @@
)


print('')
print('As of v1.0.0, `pip install dbt` is no longer supported.')
print('Instead, please use either:')
print(' - `pip install dbt-core`, for core functionality')
print(' - `pip install dbt-<adapter>`, to use dbt with your database, platform, or query engine')
print('See full list: https://docs.getdbt.com/docs/available-adapters')
print('')
sys.exit(1)
if 'sdist' not in sys.argv:
print('')
print('As of v1.0.0, `pip install dbt` is no longer supported.')
print('Instead, please use either:')
print(' - `pip install dbt-core`, for core functionality')
print(' - `pip install dbt-<adapter>`, to use dbt with your database, platform, or query engine')
print('See full list: https://docs.getdbt.com/docs/available-adapters')
print('')
sys.exit(1)

0 comments on commit cf3089d

Please sign in to comment.