-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
144 lines (126 loc) · 4.13 KB
/
pyproject.toml
File metadata and controls
144 lines (126 loc) · 4.13 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
#####
# 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'@ physicelldataloader : 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
#####
[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
dependencies = [
"anndata>=0.10.8",
"bioio>=1.2.1", # needs numpy < 2.0.0
"bioio-ome-tiff",
"geopandas>=0.14", # spatialdata==0.6.0
"matplotlib",
"neuroglancer",
"numpy",
"pandas>=2.2.2",
"requests",
"scikit-image>=0.24.0",
"scipy>=1.13.0",
"shapely>=2.0.1", # spatialdata==0.6.0
"spatialdata>=0.6.0",
"vtk",
]
[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_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",
]