Skip to content

Commit

Permalink
Include PEM files when building Motor for testing (this method seems …
Browse files Browse the repository at this point in the history
…to actually work).
  • Loading branch information
ajdavis committed Dec 23, 2013
1 parent 91a3e8c commit 415ea37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ include LICENSE
recursive-include doc *.rst
recursive-include doc *.py
recursive-include test *.py
recursive-include test *.pem
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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',
Expand Down

0 comments on commit 415ea37

Please sign in to comment.