forked from Reed-CompBio/spras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (78 loc) · 2.36 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[project]
name = "spras"
version = "0.2.0"
description = "Signaling Pathway Reconstruction Analysis Streamliner"
authors = [
{ name = "Anthony Gitter", email = "[email protected]" },
{ name = "Anna Ritz", email = "[email protected]"},
]
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
requires-python = ">=3.11"
dependencies = [
"adjusttext==0.7.3",
# A bug was introduced in older versions of snakemake that prevent it from running. Update to fix
"snakemake==8.16.0",
"docker==5.0.3", # Switched from docker-py to docker because docker-py is not maintained in pypi. This appears to have no effect
"matplotlib==3.6",
"networkx==2.8",
"pandas==1.5",
"numpy==1.26.4",
"pip==22.1",
"requests==2.28",
"scikit-learn==1.2",
"seaborn==0.12",
"spython==0.2",
# Only required for GraphSpace
"commonmark==0.9",
"docutils==0.19",
"jinja2==3.1",
"mock==4.0",
"recommonmark==0.7",
"sphinx==6.0",
"graphspace_python==1.3.1",
"sphinx-rtd-theme==2.0.0",
]
[project.optional-dependencies]
dev = [
# Only required for development
"pre-commit==2.20",
"pytest==8.0",
]
[project.urls]
"Homepage" = "https://github.com/Reed-CompBio/spras"
"Issues" = "https://github.com/Reed-CompBio/spras/issues"
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py311"
# Autofix errors when possible
fix = true
# Select categories or specific rules from https://beta.ruff.rs/docs/rules/
select = [
"B", # flake8-bugbear
"D300", # docstring triple-single-quotes
"E101", # mixed-spaces-and-tabs
"E711", # none-comparison
"E713", # not-in-test
"E714" , # not-is-test
"F821", # undefined-name
"F823", # undefined-local
"F841", # unused-variable
"I", # isort
"W292", # missing-newline-at-end-of-file
]
[tool.setuptools]
# py-modules tells setuptools which directory is our actual module
py-modules = ["spras"]
# packages tells setuptools what the exported package is called (ie allows import spras)
packages = ["spras", "spras.analysis"]