From de4027c0eff322252d57eff90327546257f5ff08 Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Wed, 19 Jun 2019 19:56:44 +0200 Subject: [PATCH] Improve tests bundling for Fedora --- MANIFEST.in | 2 ++ pysnooper/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 9a1007a..4ac21c3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,5 @@ include README.md include LICENSE include requirements.in include requirements.txt +recursive-include tests *.txt *.py +prune tests/.pytest_cache diff --git a/pysnooper/__init__.py b/pysnooper/__init__.py index 51b2851..fa36777 100644 --- a/pysnooper/__init__.py +++ b/pysnooper/__init__.py @@ -24,7 +24,7 @@ import collections __VersionInfo = collections.namedtuple('VersionInfo', ('major', 'minor', 'micro')) -__version__ = '0.2.1' +__version__ = '0.2.2' __version_info__ = __VersionInfo(*(map(int, __version__.split('.')))) del collections, __VersionInfo # Avoid polluting the namespace diff --git a/setup.py b/setup.py index e01e6e6..270bcf8 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setuptools.setup( long_description=read_file('README.md'), long_description_content_type='text/markdown', url='https://github.com/cool-RR/PySnooper', - packages=setuptools.find_packages(exclude=['tests']), + packages=setuptools.find_packages(exclude=['tests*']), install_requires=read_file('requirements.in'), extras_require={ 'tests': {