summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astroid/tests/__init__.py0
-rw-r--r--setup.py5
2 files changed, 2 insertions, 3 deletions
diff --git a/astroid/tests/__init__.py b/astroid/tests/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/astroid/tests/__init__.py
diff --git a/setup.py b/setup.py
index 2380be5f..d356110b 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@
# You should have received a copy of the GNU Lesser General Public License along
# with astroid. If not, see <http://www.gnu.org/licenses/>.
"""Setup script for astroid."""
-from setuptools import setup
+from setuptools import setup, find_packages
pkginfo = 'astroid/__pkginfo__.py'
@@ -41,8 +41,7 @@ def install():
url = web,
include_package_data = True,
install_requires = install_requires,
- # find_packages() does not work on drone.io (or maybe inside venv).
- packages = ['astroid', 'astroid.tests'],
+ packages = find_packages(),
)