-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
179 lines (160 loc) · 5.24 KB
/
Copy pathpyproject.toml
File metadata and controls
179 lines (160 loc) · 5.24 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
#####
# a hatchling based setup module.
#
# see:
# https://packaging.python.org/en/latest/
# https://packaging.python.org/en/latest/tutorials/packaging-projects/
# https://hatch.pypa.io/latest/
#
# find files with traling spaces:
# find . -type f -exec egrep -l " +$" {} \;
#
# releasing a next version on pypi:
# 0. vim pcdl/VERSION.py # increase version number in file
# 1. git add pcdl/VERSION.py
# 2. python3 man/scarab.py
# 3. git status
# 4. git commit -m'@ physicell data loader : next release.'
# 5. git tag -a v0.0.0 -m'version 0.0.0'
# 6. rm -r dist
# 7. python3 -c "import pcdl; pcdl.uninstall_data()"
# 8. python3 -m build --sdist # make source distribution
# 9. python3 -m build --wheel # make binary distribution python wheel
# 10. twine upload dist/* --verbose
# 11. git push origin
# 12. git push --tag
#
# releasing a next version on bioconda:
# 13. vim bioconda-recipes/recipes/pcdl/meta.yaml # update version and content
# 14. git bioconda-recipes pull request
# 15. cp -r ../bioconda-recipes/recipes/pcdl jakku/biocondarecipes_recipes/
# 16. git add jakku/biocondarecipes_recipes/pcdl/meta.yaml
# 17. git commit -m'@ jakku : bioconda next release.'
# 18. git push origin
#
# releasing a next version on galaxy:
# https://planemo.readthedocs.io/en/latest/index.html
# https://docs.galaxyproject.org/en/latest/dev/schema.html
# cd tools-iuc/tools/pcdl/
# planemo lint
# planemo test
# planemo serve
#
# 19. vim tools-iuc/tools/pcdl/pcdl_macros.xml # update version
# 20. git tools-iuc pull request
# 21. cp -r ../tools-iuc/tools/pcdl jakku/toolsiuc_tools/
# 22. git add jakku/toolsiuc_tools/pcdl/pcdl_macros.xml
# 23. git commit -m'@ jakku : galaxy next release.'
# 24. git push origin
#####
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
# name of the project
# pip install pcdl
# import pcdl
name = "pcdl"
dynamic = ["version"]
description = "physicell data loader (pcdl) provides a platform independent, python3 based, pip installable interface to load output, generated with the PhysiCell agent based modeling framework, into python3."
readme = "README.md"
requires-python = ">=3.11, <4"
license = "BSD-3-Clause"
#license-files = {paths = ["LICENSE"]}
authors = [
{name="Elmar Bucher", email="epbucher@iu.edu"}
]
maintainers = [
{name="Elmar Bucher", email="epbucher@iu.edu"}
]
keywords = [
"analysis",
"data",
"physicell",
"python3",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
# bue 2024-12-06: enforcing some versions
# light weight
dependencies = [
"matplotlib",
"numpy",
"pandas>=2.2.2", # numpy 2.0 comatible
"scipy>=1.13.0", # numpy 2.0 compatible
]
[project.optional-dependencies]
# bioconda galaxy
jakku = [
"anndata>=0.10.8", # numpy 2.0 compatible
"requests",
"vtk",
]
# heavy weight
full = [
"pcdl[jakku]",
"bioio>=2.0.0",
"bioio-ome-tiff",
"geopandas>=0.14", # spatialdata 0.7.3 compatible
"networkx",
"neuroglancer",
"scikit-image>=0.24.0",
"shapely>=2.0.1", # spatialdata 0.7.3 compatible
"spatialdata>=0.7.3",
]
[project.scripts]
# special thanks to Miguel Ponce-de-Leon who introduced me to entry point scripts!
# metadata
pcdl_get_version = "pcdl.commandline:get_version"
pcdl_get_unit_dict = "pcdl.commandline:get_unit_dict"
# substrate
pcdl_get_substrate_list = "pcdl.commandline:get_substrate_list"
pcdl_get_conc_attribute = "pcdl.commandline:get_conc_attribute"
pcdl_get_conc_df = "pcdl.commandline:get_conc_df"
pcdl_plot_contour = "pcdl.commandline:plot_contour"
pcdl_make_conc_vtk = "pcdl.commandline:make_conc_vtk"
# cell agent
pcdl_get_celltype_list = "pcdl.commandline:get_celltype_list"
pcdl_get_cell_attribute_list = "pcdl.commandline:get_cell_attribute_list"
pcdl_get_cell_attribute = "pcdl.commandline:get_cell_attribute"
pcdl_get_cell_df = "pcdl.commandline:get_cell_df"
pcdl_get_anndata = "pcdl.commandline:get_anndata"
pcdl_make_graph_gml = "pcdl.commandline:make_graph_gml"
pcdl_plot_scatter = "pcdl.commandline:plot_scatter"
pcdl_make_cell_vtk = "pcdl.commandline:make_cell_vtk"
# substrate and cell agent
pcdl_get_muspan = "pcdl.commandline:get_muspan"
pcdl_get_spatialdata = "pcdl.commandline:get_spatialdata"
pcdl_plot_timeseries = "pcdl.commandline:plot_timeseries"
pcdl_make_ome_tiff = "pcdl.commandline:make_ome_tiff"
pcdl_render_neuroglancer = "pcdl.commandline:render_neuroglancer"
# making movies
pcdl_make_gif = "pcdl.commandline:make_gif"
pcdl_make_movie = "pcdl.commandline:make_movie"
[project.urls]
"Homepage lab" = "http://www.mathcancer.org/"
"Homepage project" = "http://physicell.org/"
Hompage = "https://github.com/elmbeech/physicelldataloader"
Documentation = "https://github.com/elmbeech/physicelldataloader/tree/master/man"
Issues = "https://github.com/elmbeech/physicelldataloader/issues"
Source = "https://github.com/elmbeech/physicelldataloader"
#DOI = "https://"
[tool.hatch.version]
path = "pcdl/VERSION.py"
[tool.hatch.build.targets.sdist]
include = [
"/man",
"/pcdl",
"/test",
]
exclude = [
"/output_2d.tar.gz",
"/output_3d.tar.gz",
"/.pytest_cache",
]