-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (92 loc) · 3 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (92 loc) · 3 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
[project]
name = "hats"
description = "Hierarchical Adaptive Tiling Scheme Catalog"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
readme = "README.md"
authors = [
{ name = "LINCC Frameworks", email = "lincc-frameworks-team@lists.lsst.org" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
]
dynamic = ["version"]
requires-python = ">=3.11"
dependencies = [
"aiohttp>=3.10.0", # http filesystem support
"astropy>=7.0.0",
"cdshealpix>=0.8.0",
"fsspec>=2023.10.0", # Used for abstract filesystems
"human_readable", # Used for pretty-printing file sizes
"jinja2>=3.0.0", # Used for summary file templating
"jproperties>=2.0.0",
"mocpy>=0.19.0",
"nested-pandas>=0.6.7,<0.7.0",
"numba>=0.58",
"numpy>=2.3,<3",
"pandas>=2.0",
# NOTE: package PINNED at:
# !=19.0.0 due to https://github.com/astronomy-commons/hats/pull/516
# !=21.0.0 due to https://github.com/astronomy-commons/lsdb/issues/974
"pyarrow>=14.0.1,!=19.0.0,!=21.0.0; platform_system == 'Windows'",
"pyarrow>=14.0.1,!=19.0.0; platform_system != 'Windows'",
"pydantic>=2.0",
"scipy>=1.7.2",
"typing-extensions>=4.3.0",
"universal-pathlib>=0.3.1",
]
[project.urls]
"Source Code" = "https://github.com/astronomy-commons/hats"
# On a mac, install optional dependencies with `pip install '.[dev]'` (include the single quotes)
[project.optional-dependencies]
dev = [
"asv[virtualenv]==0.6.5", # Used to compute performance benchmarks
"black", # Used for static linting of files
"jupyter", # Clears output from Jupyter notebooks
"pre-commit", # Used to run checks before finalizing a git commit
"pylint", # Used for static linting of files
"pytest",
"pytest-cov", # Used to report total code coverage
"pytest-mock", # Used to mock objects in tests
"pytest-timeout", # Used to test for code efficiency
"PyYAML", # Used to test Hugging-Face YAML metadata generation
]
plotting = [
"matplotlib>=3.10.1",
]
full = [
"fsspec[full]", # complete file system specs.
"lsst-sphgeom ; sys_platform == 'darwin' or sys_platform == 'linux'", # To handle spherical sky polygons, not available on Windows
"matplotlib>=3.10.1",
]
[build-system]
requires = [
"setuptools>=62", # Used to build and package the Python project
"setuptools_scm>=6.2", # Gets release version from git. Makes it available programmatically
]
build-backend = "setuptools.build_meta"
[tool.setuptools.package-data]
hats = ["io/templates/*.jinja2"]
[tool.setuptools_scm]
write_to = "src/hats/_version.py"
[tool.pytest.ini_options]
timeout = 5
testpaths = [
"tests",
"src",
"docs",
]
addopts = "--doctest-modules --doctest-glob=*.rst"
log_cli_level = "INFO"
[tool.coverage.run]
omit=["src/hats/_version.py"]
[tool.black]
line-length = 110
[tool.isort]
profile = "black"
line_length = 110
skip_glob = ["benchmarks/env/*"]