Skip to content

Instantly share code, notes, and snippets.

@nareshov
Created January 5, 2012 09:57
Show Gist options
  • Save nareshov/c5be1b6cfefb50a5a521 to your computer and use it in GitHub Desktop.
Save nareshov/c5be1b6cfefb50a5a521 to your computer and use it in GitHub Desktop.
this addresses https://github.com/BrightcoveOS/Diamond/issues/12 on C6; no go on C5
diff --git a/setup.py b/setup.py
index 151e809..705349e 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python -d
import os
from glob import glob
@@ -13,7 +13,7 @@ else:
data_files=[
('/etc/diamond', glob('conf/*.conf*') ),
('/etc/diamond/collectors', glob('conf/collectors/*') ),
- ('share/diamond', ['test.py', 'LICENSE', 'README.md'] ),
+ ('share/diamond', ['LICENSE', 'README.md'] ),
('share/diamond/user_scripts', [] ),
]
@@ -49,5 +49,6 @@ setup(
packages = ['diamond'],
scripts = glob('bin/*'),
data_files = data_files,
+ test_suite = 'test.main',
**setup_kwargs
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment