Skip to content

Commit

Permalink
[ci skip] Merge PR 28188
Browse files Browse the repository at this point in the history
Merge PR #28188, commits were: 
 * snakedeploy: Re-add mistakenly removed setup dep
 * snakedeploy: Remove "tests", python>=3.6, cleanup
 * snakedeploy: Add 0001-gh-13-Exclude-tests-package-from-dist.patch
 * add snakedeploy
  • Loading branch information
johanneskoester authored Apr 26, 2021
1 parent f4d7024 commit 5ed4d14
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From c165d9862a69c3c93c620fee652abbfd3a0e4fdc Mon Sep 17 00:00:00 2001
From: Marcel Bargull <marcel.bargull@udo.edu>
Date: Sun, 25 Apr 2021 23:25:32 +0200
Subject: [PATCH] Exclude "tests" package from dist

---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index ea887af..b92970a 100644
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,7 @@ def get_reqs(lookup=None, key="INSTALL_REQUIRES"):
author_email=AUTHOR_EMAIL,
maintainer=AUTHOR,
maintainer_email=AUTHOR_EMAIL,
- packages=find_packages(),
+ packages=find_packages(exclude=["tests"]),
include_package_data=True,
zip_safe=False,
url=PACKAGE_URL,
49 changes: 49 additions & 0 deletions recipes/snakedeploy/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set version = "0.1.1" %}


package:
name: snakedeploy
version: {{ version }}

source:
url: https://pypi.io/packages/source/s/snakedeploy/snakedeploy-{{ version }}.tar.gz
sha256: b7173a4a5c341c661757f8c43c0b463ad25a9e6cd08fdb60073aa358a4625a42
patches:
- 0001-gh-13-Exclude-tests-package-from-dist.patch

build:
number: 0
noarch: python
entry_points:
- snakedeploy=snakedeploy.client:main
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- pytest-runner
- python >=3.6
run:
- jinja2
- pandas
- python >=3.6
- requests

test:
imports:
- snakedeploy
commands:
- pip check
- snakedeploy --help
requires:
- pip

about:
home: https://github.com/snakemake/snakedeploy
summary: Helper for deploying published Snakemake pipelines
license: MPL-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- johanneskoester

0 comments on commit 5ed4d14

Please sign in to comment.