From 64ac2f3568af04afc91afa41d194f03d26ab3cc8 Mon Sep 17 00:00:00 2001 From: Daniel Standage Date: Thu, 9 Apr 2020 14:14:17 -0400 Subject: [PATCH] Version 0.4! --- CHANGELOG.md | 2 +- MANIFEST.in | 1 + setup.py | 2 ++ tag/tests/test_utils.py | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa1d1fa..2699185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased +## [0.4] - 2020-04-09 ### Added - New `tag.select.merge` function to efficiently merge sorted feature streams (see #68). - New `tag.locus` module for efficient parsing locus coordinates from multiple annotation streams (see #71). diff --git a/MANIFEST.in b/MANIFEST.in index e725338..aa36eba 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include versioneer.py include tag/_version.py +include tag/tests/data/* diff --git a/setup.py b/setup.py index e470667..4bf30ce 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,8 @@ author_email='daniel.standage@gmail.com', license='BSD-3', packages=['tag', 'tag.cli', 'tag.tests'], + package_data={'tag': ['tag/tests/data/*']}, + include_package_data=True, entry_points={'console_scripts': ['tag = tag.__main__:main']}, install_requires=['intervaltree>=3.0', 'networkx>=2.0'], classifiers=[ diff --git a/tag/tests/test_utils.py b/tag/tests/test_utils.py index ee6eeb0..8092bf7 100644 --- a/tag/tests/test_utils.py +++ b/tag/tests/test_utils.py @@ -14,7 +14,7 @@ def test_tag_open_read(): - fh = tag.open('tag/__init__.py', 'r') + fh = tag.open(data_file('../../__init__.py'), 'r') line = next(fh) assert line == '#!/usr/bin/env python\n'