# HG changeset patch
# User Georges Racinet <georges.racinet@octobus.net>
# Date 1602754477 -7200
#      Thu Oct 15 11:34:37 2020 +0200
# Node ID a9658df49ca79dae92459b31984cd2a6ba7fddf6
# Parent  7210aded0244aedfb877fb4b708ca2b712ec56eb
packaging: fixed Python packages list

The usual mistake that becomes blatant at first actual production
of a distribution.

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
 
 with open('install-requirements.txt', 'r') as install_reqf:
     install_req = [req.strip() for req in install_reqf]
@@ -13,7 +13,6 @@
     long_description=open('README.md').read(),
     keywords='hg mercurial heptapod gitlab',
     license='GPLv2+',
-    package_data=dict(heptapod=['*.hgrc']),
-    packages=['hgitaly', 'hgext3rd.hgitaly'],
+    packages=find_packages(),
     install_requires=install_req,
 )