Skip to content

Commit b5911f4

Browse files
dbrgnlgrahl
authored andcommitted
setup.py: Detect packages automatically
This should fix the missing `threema.gateway.bin` package in the published distribution.
1 parent 577b8bf commit b5911f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setup.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
import os
33
import sys
44

5-
from setuptools import setup
5+
from setuptools import (
6+
find_packages,
7+
setup,
8+
)
69

710

811
def get_version():
@@ -48,7 +51,7 @@ def read(file):
4851
setup(
4952
name='threema.gateway',
5053
version=get_version(),
51-
packages=['threema', 'threema.gateway'],
54+
packages=find_packages(),
5255
namespace_packages=['threema'],
5356
install_requires=[
5457
'py_lru_cache>=0.1.4,<0.2',

0 commit comments

Comments
 (0)