Skip to content

Commit

Permalink
[setup] Bring back find_packages.
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangyu Bu <[email protected]>
  • Loading branch information
xybu committed Jan 19, 2017
1 parent 5b58112 commit dce21b4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"""

import sys

try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup, find_packages

from onedrived import __author__, __email__, __homepage__, __project__, __version__

Expand Down Expand Up @@ -41,7 +37,7 @@
description='A Microsoft OneDrive client for Linux written in Python 3.',
license='MIT',
long_description=readme,
packages=['onedrived'],
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
include_package_data=True,
package_data={
'onedrived': ['data/*']
Expand Down

0 comments on commit dce21b4

Please sign in to comment.