Skip to content

Commit 1815d11

Browse files
dungdm93ebyhr
authored andcommitted
fix: packages don't include module trino.sqlalchemy
Signed-off-by: Đặng Minh Dũng <[email protected]>
1 parent 11b1272 commit 1815d11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414

1515
import ast
1616
import re
17-
from setuptools import setup
1817
import textwrap
1918

19+
from setuptools import setup, find_packages
2020

2121
_version_re = re.compile(r"__version__\s+=\s+(.*)")
2222

23-
2423
with open("trino/__init__.py", "rb") as f:
2524
trino_version = _version_re.search(f.read().decode("utf-8"))
2625
assert trino_version is not None
@@ -38,15 +37,16 @@
3837
"pytest",
3938
"pytest-runner",
4039
"pytz",
41-
"click"]
40+
"click",
41+
]
4242

4343
setup(
4444
name="trino",
4545
author="Trino Team",
4646
author_email="[email protected]",
4747
version=version,
4848
url="https://github.com/trinodb/trino-python-client",
49-
packages=["trino"],
49+
packages=find_packages(include=["trino", "trino.*"]),
5050
package_data={"": ["LICENSE", "README.md"]},
5151
description="Client for the Trino distributed SQL Engine",
5252
long_description=textwrap.dedent(

0 commit comments

Comments
 (0)