diff setup.py @ 111:c1e5df33721f

struggling to get data files into setup.py
author catherine@dellzilla
date Fri, 24 Oct 2008 17:47:56 -0400
parents 78c4db4c2045
children e3b8eaadea56
line wrap: on
line diff
--- a/setup.py	Fri Oct 24 16:55:49 2008 -0400
+++ b/setup.py	Fri Oct 24 17:47:56 2008 -0400
@@ -4,8 +4,10 @@
 setup(
     name="cmd2",
     packages=["cmd2",],
+    package_dir={'cmd2': 'cmd2'},
+    package_data={'cmd2': ['example/*.*']},
+    include_package_data=True,
     version="0.4",
-    #py_modules = ['cmd2','flagReader','bootstrap'],
     
     # metadata for upload to PyPI
     author = 'Catherine Devlin',
@@ -14,7 +16,6 @@
     license = 'MIT',
     keywords = 'command prompt console cmd',
     url = 'http://www.assembla.com/wiki/show/python-cmd2',
-    include_package_data=True,
     
     long_description = """Enhancements for standard library's cmd module.