Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
VinzentRisch committed Jan 14, 2025
1 parent f5ff1b3 commit fda76f4
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 3,073 deletions.
12 changes: 5 additions & 7 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{% set data = load_setup_py_data() %}
{% set version = data.get('version') or 'placehold' %}

package:
name: q2-viromics
version: {{ version }}
version: {{ PLUGIN_VERSION }}

source:
path: ..
Expand All @@ -15,6 +12,8 @@ requirements:
host:
- python {{ python }}
- setuptools
- versioningit
- wheel

run:
- python {{ python }}
Expand All @@ -26,13 +25,12 @@ requirements:

test:
requires:
- coverage
- pytest-cov
- parameterized
imports:
- q2_viromics
- qiime2.plugins.viromics
commands:
- pytest --cov q2_viromics --cov-report xml:coverage.xml --pyargs q2_viromics
- pytest --pyargs q2_viromics

about:
home: https://github.com/bokulich-lab/q2-viromics
Expand Down
50 changes: 50 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[project]
name = "q2-viromics"
authors = [
{ name = "Christos Matzoros", email = "[email protected]" }
]
description = "A QIIME 2 plugin for the identification and analysis of viral sequences."
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/bokulich-lab/q2-viromics"
Repository = "https://github.com/bokulich-lab/q2-viromics"

[project.entry-points.'qiime2.plugins']
"q2-viromics" = "q2_viromics.plugin_setup:plugin"

[build-system]
requires = [
"setuptools",
"versioningit",
"wheel"
]
build-backend = "setuptools.build_meta"

[tool.versioningit.vcs]
method = "git-archive"
describe-subst = "$Format:%(describe)$"
default-tag = "0.0.1"

[tool.versioningit.next-version]
method = "minor"

[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}"
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"

[tool.versioningit.write]
file = "q2_viromics/_version.py"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["."]
include = ["q2_viromics*"]

[tool.setuptools.package-data]
q2_viromics = ["**/*"]
Loading

0 comments on commit fda76f4

Please sign in to comment.