diff --git a/setup.py b/setup.py
index 7210aded0244aedfb877fb4b708ca2b712ec56eb_c2V0dXAucHk=..a9658df49ca79dae92459b31984cd2a6ba7fddf6_c2V0dXAucHk= 100644
--- 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,
 )