-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
f4d7024
commit 5ed4d14
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
recipes/snakedeploy/0001-gh-13-Exclude-tests-package-from-dist.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |