mirror of https://github.com/docker/docker-py.git
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:
parent
04e9437986
commit
6d770a65d7
7
setup.py
7
setup.py
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue