Skip to content

Commit

Permalink
Fix package issue and exclude tests from dist (#4)
Browse files Browse the repository at this point in the history
* Moved source into pyu2f directory
* Exclude tests from find_packages()
  • Loading branch information
jiangk authored Jun 9, 2017
1 parent e534bd7 commit b1d75dd
Show file tree
Hide file tree
Showing 33 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setuptools.setup(
name='pyu2f',
version='0.1.0',
version='0.1.1',
description='U2F host library for interacting with a U2F device over USB.',
long_description='pyu2f is a python based U2F host library for Linux, '
'Windows, and MacOS. It provides functionality for '
Expand All @@ -35,7 +35,7 @@
author='Google Inc.',
author_email='pyu2f-team@google.com',
# Contained modules and scripts.
packages=setuptools.find_packages(),
packages=setuptools.find_packages(exclude=["pyu2f.tests", "pyu2f.tests.*"]),
install_requires=[],
tests_require=[
'unittest2>=0.5.1',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ skipsdist = True
deps=pytest
pyfakefs
mock
commands=py.test tests/
commands=py.test pyu2f/tests/

0 comments on commit b1d75dd

Please sign in to comment.