diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,13 +8,9 @@ def getfile(filename):
 setup(
     name='autocommand',
     version='2.0.1',
-    py_modules=[
-        'autocommand',
-        'autocommand.automain',
-        'autocommand.autoasync',
-        'autocommand.autoparse',
-        'autocommand.autocommand',
-        'autocommand.errors'],
+    packages=[
+        'autocommand'
+    ],
     package_dir={'': 'src'},
     platforms='any',
     license='LGPLv3',
Updated setup.py to use 'packages'