Skip to content

Commit

Permalink
testing new pyproject.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian committed Jan 25, 2024
1 parent 33130e2 commit 98a1f63
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:

jobs:
create-conda-env:
test_analyze_schema:
runs-on: ubuntu-latest

steps:
Expand All @@ -26,6 +26,8 @@ jobs:
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate taranis_env
- name: testung analyze schema
run:
pip install .
taranis analyze-schema -i test/MLST_listeria -o analyze_schema_test --cpus 1

1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ channels:
- defaults
dependencies:
- python=3.10
- conda-forge::poetry=1.7.1
- bioconda::prokka>=1.14
- bioconda::blast>=2.9
- bioconda::mash>=2
Expand Down
29 changes: 10 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
[tool.poetry]
name = "taranis"
version = "3.0.0"
dynamic = ["dependencies"]
requires-python = ">=3.10"

authors = [
{name = "Sara Monzon", email = "[email protected]"},
{name = "Luis Chapado", email = "[email protected]"},
]
maintainers = [
{name = "Luis Chapado", email = "[email protected]"}
]
description = "Tools for gene-by-gene allele calling analysis"
readme = "README.md"
license = {file = "LICENSE"}
authors = ["Sara Monzon <[email protected]>"]
license = "GNU-3.0"

[tool.poetry.dependencies]
python = "^3.10"

[tool.poetry.scripts]
taranis = "taranis.__main__:run_taranis"

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[tool.setuptools.packages.find]
exclude = ["img", "virtualenv"]
exclude = ["img", "virtualenv"]

0 comments on commit 98a1f63

Please sign in to comment.