Permalink
Browse files

Include PEM files when building Motor for testing (this method seems …

…to actually work).
  • Loading branch information...
1 parent 91a3e8c commit 415ea371695233b828ae9c7415f7eb5f50c19cfc @ajdavis ajdavis committed Dec 23, 2013
Showing with 3 additions and 1 deletion.
  1. +0 −1 MANIFEST.in
  2. +3 −0 setup.py
View
1 MANIFEST.in
@@ -3,4 +3,3 @@ include LICENSE
recursive-include doc *.rst
recursive-include doc *.py
recursive-include test *.py
-recursive-include test *.pem
View
3 setup.py
@@ -36,9 +36,11 @@
kwargs['use_2to3'] = True
packages = ['motor']
+package_data = {}
if 'test' in sys.argv:
sys.argv.remove('test')
sys.argv.append('nosetests')
+ package_data['test'] = ['certificates/*']
if 'nosetests' in sys.argv:
packages.append('test')
@@ -50,6 +52,7 @@
setup(name='motor',
version='0.1+',
packages=packages,
+ package_data=package_data,
description=description,
long_description=long_description,
author='A. Jesse Jiryu Davis',

0 comments on commit 415ea37

Please sign in to comment.