setup.py
changeset 1806 9f42f819267b
parent 1642 fb5e479080d8
child 1807 a53efee7d8b0
--- a/setup.py	Tue Nov 01 05:42:50 2016 +0100
+++ b/setup.py	Tue Feb 28 15:09:03 2017 +0100
@@ -15,8 +15,10 @@
           if "'" in line:
             return line.split("'")[1]
 
-py_modules = [
-    'hgext.evolve',
+py_modules = []
+py_packages = [
+    'hgext3rd',
+    'hgext3rd.evolve',
 ]
 
 if os.environ.get('INCLUDE_INHIBIT'):
@@ -25,7 +27,7 @@
 
 setup(
     name='hg-evolve',
-    version=get_version('hgext/evolve.py'),
+    version=get_version('hgext3rd/evolve/__init__.py'),
     author='Pierre-Yves David',
     maintainer='Pierre-Yves David',
     maintainer_email='pierre-yves.david@ens-lyon.org',
@@ -34,5 +36,6 @@
     long_description=open('README').read(),
     keywords='hg mercurial',
     license='GPLv2+',
-    py_modules=py_modules
+    py_modules=py_modules,
+    packages=py_packages
 )