Browse Source

Use py_modules and anonymouse package syntax

Matthew Wang 11 years ago
parent
commit
209bbe7bbf
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      setup.py

+ 4
- 2
setup.py View File

@@ -28,8 +28,10 @@ setup(
28 28
         'Operating System :: Unix',
29 29
         'Programming Language :: Python',
30 30
     ],
31
-    packages = [],
32
-    scripts = ['src/cdiff.py'],
31
+    package_dir = {'': 'src'},
32
+    packages = [''],
33
+    py_modules = ['cdiff'],
34
+    scripts = [],
33 35
     entry_points = {
34 36
         'console_scripts': [
35 37
             'cdiff = cdiff:main',