Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Fix package data install, and test discovery in package name (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
clintval authored Dec 28, 2018
1 parent a566573 commit cafa0c8
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 21 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: python
cache: pip
python:
- 3.6

install:
- sudo apt-get update
- wget -O miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
Expand All @@ -10,12 +11,17 @@ install:
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install virtualenv
- conda info -a
- conda install virtualenv
- pip install codecov tox-travis
- pip install requests jinja2 anaconda-client

script:
- tox
- conda build conda-recipe

after_success:
- codecov

notifications:
email: false
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ include README.md
include LICENSE
include docs/CONTRIBUTING.md
recursive-include docs *.rst
recursive-include snakescale/wrappers Snakefile
recursive-include snakescale/wrappers *.yml *.yaml *.py
recursive-include snakescale/wrappers *.bed *.genome
recursive-include snakescale/wrappers *.bed *.genome
6 changes: 3 additions & 3 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% set name = "snakescale" %}
{% set version = "0.4.0" %}
{% set version = "0.5.0" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 4cf5b989aef26491a618d8fa3339f936da16f6a9e4237f8fe6a94e4ae34d0540
sha256: 473f5757a422219f97a3f04429c84d8a65d4eac8779601563fe94c3948400d31

build:
number: 0
Expand All @@ -29,7 +29,7 @@ about:
license_family: MIT
license_file:
summary: Non-strict wrappers for the data pipelining language Snakemake.
doc_url:
doc_url: http://snakescale.readthedocs.io/
dev_url:

extra:
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
author = 'clintval'

# The short X.Y version
version = '0.4'
version = '0.5'
# The full version, including alpha/beta/rc tags
release = '0.4.0'
release = '0.5.0'

# -- General configuration ---------------------------------------------------

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pathlib import Path

PACKAGE = 'snakescale'
VERSION = '0.4.0'
VERSION = '0.5.0'

setuptools.setup(
name=PACKAGE,
Expand All @@ -19,6 +19,7 @@
license='MIT',
zip_safe=False,
packages=find_packages(),
include_package_data=True,
install_requires=['snakemake>=4.5.1'],
keywords='snakemake pipeline wrapper',
classifiers=[
Expand All @@ -30,6 +31,6 @@
],
project_urls={
'Documentation': f'https://{PACKAGE}.readthedocs.io',
'Issue-Tracker': f'https://github.com/clintval/{PACKAGE}/issues',
'Issue Tracker': f'https://github.com/clintval/{PACKAGE}/issues',
},
)
Empty file removed snakescale/wrappers/__init__.py
Empty file.
10 changes: 0 additions & 10 deletions tests/conftest.py

This file was deleted.

14 changes: 12 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ warn_return_any = True
warn_redundant_casts = True

[pytest]
testpaths =
testpaths =
tests
docs
snakescale
tests
addopts =
--cov=snakescale
--cov-config tox.ini
Expand All @@ -103,6 +103,16 @@ addopts =
--doctest-rst
--doctest-glob '*.rst'
--show-capture=no
norecursedirs =
'.*'
'build'
'dist'
'CVS'
'_darcs'
'{arch}'
'*.egg'
'venv'
'wrappers'
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
mock_use_standalone_module = true

0 comments on commit cafa0c8

Please sign in to comment.