Use find_packages in setup.py

It was missing docker.models, and this will fix it forever more.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
Ben Firshman 2016-11-23 15:02:59 +00:00
parent 04e9437986
commit 6d770a65d7
No known key found for this signature in database
GPG Key ID: 18296449E36D2F1E
1 changed files with 2 additions and 5 deletions

View File

@ -2,7 +2,7 @@
import os
import sys
from setuptools import setup
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
@ -48,10 +48,7 @@ setup(
description="A Python library for the Docker Engine API.",
long_description=long_description,
url='https://github.com/docker/docker-py',
packages=[
'docker', 'docker.api', 'docker.transport', 'docker.utils',
'docker.types',
],
packages=find_packages(exclude=["tests.*", "tests"]),
install_requires=requirements,
tests_require=test_requirements,
extras_require=extras_require,