Skip to content

Commit faeb411

Browse files
committed
Update setup.py to include new sub-packages
setup.py should include all subpackages of the `ciscosparkapi` package.
1 parent c54c0c9 commit faeb411

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

setup.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
"""A setuptools based setup module."""
33

44

5-
__author__ = "Chris Lunsford"
6-
__author_email__ = "[email protected]"
7-
__copyright__ = "Copyright (c) 2016-2018 Cisco and/or its affiliates."
8-
__license__ = "MIT"
9-
10-
115
from codecs import open
126
from os import path
13-
from setuptools import setup
7+
8+
from setuptools import setup, find_packages
149

1510
import versioneer
1611

1712

13+
__author__ = "Chris Lunsford"
14+
__author_email__ = "[email protected]"
15+
__copyright__ = "Copyright (c) 2016-2018 Cisco and/or its affiliates."
16+
__license__ = "MIT"
17+
18+
1819
# Get the long description from the README file
1920
current_path = path.abspath(path.dirname(__file__))
2021
with open(path.join(current_path, 'README.rst'), encoding='utf-8') as f:
@@ -58,10 +59,7 @@
5859

5960
keywords='cisco spark api enterprise messaging',
6061

61-
packages=[
62-
'ciscosparkapi',
63-
'ciscosparkapi.api',
64-
],
62+
packages=find_packages(include=['ciscosparkapi', 'ciscosparkapi.*']),
6563

6664
install_requires=[
6765
'future',

0 commit comments

Comments
 (0)