Skip to content

Commit 89492b2

Browse files
committed
pixi: First several steps towards.
1 parent 81372e6 commit 89492b2

File tree

8 files changed

+3050
-391
lines changed

8 files changed

+3050
-391
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ docker/kingfisher.yml
66
site
77
build
88
kingfisher.egg-info
9+
10+
# pixi environments
11+
.pixi
12+
*.egg-info

bin/kingfisher

Lines changed: 0 additions & 341 deletions
This file was deleted.

kingfisher/version.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
__version__ = "0.4.1"
1+
# file generated by setuptools-scm
2+
# don't change, don't track in version control
3+
4+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5+
6+
TYPE_CHECKING = False
7+
if TYPE_CHECKING:
8+
from typing import Tuple
9+
from typing import Union
10+
11+
VERSION_TUPLE = Tuple[Union[int, str], ...]
12+
else:
13+
VERSION_TUPLE = object
14+
15+
version: str
16+
__version__: str
17+
__version_tuple__: VERSION_TUPLE
18+
version_tuple: VERSION_TUPLE
19+
20+
__version__ = version = '0.4.1'
21+
__version_tuple__ = version_tuple = (0, 4, 1)

pixi.lock

Lines changed: 2941 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[workspace]
2+
authors = ["Ben Woodcroft <[email protected]>"]
3+
channels = ["conda-forge","bioconda"]
4+
name = "kingfisher"
5+
platforms = ["linux-64"]
6+
version = "0.1.0"
7+
8+
[tasks]
9+
10+
[dependencies]
11+
pigz = ">=2.8,<3"
12+
extern = ">=0.4.1,<0.5"
13+
curl = ">=8.13.0,<9"
14+
sra-tools = ">=3.2.1,<4"
15+
pandas = ">=2.2.3,<3"
16+
requests = ">=2.32.3,<3"
17+
aria2 = ">=1.37.0,<2"
18+
sracat = ">=0.2,<0.3"
19+
bird_tool_utils_python = ">=0.4.1,<0.5"
20+
awscli = ">=2.27.20,<3"
21+
pyarrow = ">=20.0.0,<21"
22+
tqdm = ">=4.67.1,<5"
23+
24+
[pypi-dependencies]
25+
kingfisher = {path = ".", editable = true}
26+
27+
[feature.dev.dependencies]
28+
# Dev/test dependencies only
29+
pytest = "*"
30+
ipython = "*"
31+
pytest-timeout = "*"
32+
pandoc = "*"
33+
toml = "*"
34+
python-build = "*"
35+
setuptools-scm = "*"
36+
37+
[environments]
38+
dev = ["dev"]

pyproject.toml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[build-system]
2+
requires = ["setuptools>=64", "wheel", "setuptools_scm"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "kingfisher"
7+
description = "Download/extract biological FASTA/Q read data and metadata"
8+
readme = "README.md"
9+
requires-python = ">=3.7"
10+
license = "GPL-3.0-or-later"
11+
authors = [{ name = "Ben Woodcroft" }]
12+
keywords = ["metagenomics", "bioinformatics"]
13+
classifiers = [
14+
"Development Status :: 4 - Beta",
15+
"Topic :: Scientific/Engineering",
16+
"Topic :: Scientific/Engineering :: Bio-Informatics",
17+
"Programming Language :: Python :: 3"
18+
]
19+
dynamic = ["version", "dependencies"]
20+
21+
[project.urls]
22+
Homepage = "https://github.com/wwood/kingfisher"
23+
24+
[project.scripts]
25+
kingfisher = "kingfisher.main:main"
26+
27+
[tool.setuptools]
28+
packages = ["kingfisher"]
29+
include-package-data = true
30+
31+
[tool.setuptools.package-data]
32+
kingfisher = ["data/asperaweb_id_dsa.openssh"]
33+
34+
[tool.setuptools.dynamic]
35+
dependencies = { file = ["admin/requirements.txt"] }
36+
37+
[tool.setuptools_scm]
38+
version_file = "kingfisher/version.py"
39+
# Otherwise the push to pypi will fail on GitHub actions, because the version is malformed.
40+
version_scheme = "only-version"
41+
local_scheme = "no-local-version"
42+
43+
[tool.setuptools.data-files]
44+
"." = ["README.md", "LICENCE.txt"]

setup.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)