File tree Expand file tree Collapse file tree 4 files changed +61
-64
lines changed Expand file tree Collapse file tree 4 files changed +61
-64
lines changed Original file line number Diff line number Diff line change 7
7
- main
8
8
9
9
jobs :
10
- pre-commit :
11
- name : Lint
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v4
15
- - uses : actions/setup-python@v5
16
- with :
17
- python-version : ' 3.11'
18
- -
uses :
pre-commit/[email protected]
10
+ # pre-commit:
11
+ # name: Lint
12
+ # runs-on: ubuntu-latest
13
+ # steps:
14
+ # - uses: actions/checkout@v4
15
+ # - uses: actions/setup-python@v5
16
+ # with:
17
+ # python-version: '3.11'
18
+ # - uses: pre-commit/[email protected]
19
19
test :
20
20
name : Test
21
21
runs-on : ubuntu-latest
29
29
- name : Install dependencies
30
30
run : |
31
31
python -m pip install --upgrade pip
32
- python -m pip install '.[dev]'
32
+ python -m pip install '.[dev,analysis ]'
33
33
34
34
- name : Run tests
35
35
run : |
42
42
# # This is a quick workaround for doing a proper "parallel" setup:
43
43
# # https://github.com/coverallsapp/github-action
44
44
# fail-on-error: false
45
+
46
+ packaging :
47
+ name : Packaging
48
+ runs-on : ubuntu-latest
49
+ steps :
50
+ - uses : actions/checkout@v4
51
+ - uses : actions/setup-python@v5
52
+ with :
53
+ python-version : ' 3.11'
54
+ - name : Install dependencies
55
+ run : |
56
+ python -m pip install --upgrade pip
57
+ python -m pip install build twine validate-pyproject[all]
58
+ - name : Check and install package
59
+ run : |
60
+ validate-pyproject pyproject.toml
61
+ python -m build
62
+ python -m twine check --strict dist/*
63
+ python -m pip install dist/*.whl
Original file line number Diff line number Diff line change 1
- [build-system ]
2
- requires = [
3
- " setuptools>=42" ,
4
- " setuptools_scm" ,
5
- " wheel" ,
6
- ]
7
- build-backend = " setuptools.build_meta"
8
-
9
1
[project ]
10
2
name = " sc2ts"
11
- description = " Infer ARGs in tskit format for SARS-Cov2"
3
+ description = " Infer ARGs for SARS-Cov2 in tskit format "
12
4
readme = " README.md"
13
5
license = {file = " LICENSE" }
14
6
authors = [
15
- {name = " FIXME " , email = " FIXME " },
7
+ {
name =
" Jerome Kelleher " ,
email =
" [email protected] " },
16
8
]
9
+ requires-python = " >=3.9"
17
10
dependencies = [
18
11
" tsinfer" ,
19
12
" pyfaidx" ,
13
+ " tskit>=0.5.3" ,
14
+ " tszip" ,
15
+ " tsinfer>=0.3.0" ,
16
+ " pandas" ,
17
+ " numba" ,
18
+ " tqdm" ,
19
+ " scipy" ,
20
+ " click" ,
21
+ " zarr<2.18" ,
20
22
]
23
+ dynamic = [" version" ]
21
24
22
25
[project .optional-dependencies ]
23
26
dev = [
27
+ " msprime" ,
24
28
" pytest" ,
25
29
" pytest-coverage" ,
26
30
]
31
+ analysis = [
32
+ " matplotlib" ,
33
+ " scikit-learn" ,
34
+ " pandas" ,
35
+ " IPython" ,
36
+ " networkx" ,
37
+ ]
38
+
39
+ [build-system ]
40
+ requires = [
41
+ " setuptools>=42" ,
42
+ " setuptools_scm" ,
43
+ " wheel" ,
44
+ ]
45
+ build-backend = " setuptools.build_meta"
46
+
47
+ [tool .setuptools ]
48
+ packages = [" sc2ts" ]
27
49
28
50
[tool .setuptools_scm ]
29
51
write_to = " sc2ts/_version.py"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments