-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BLD: update build system and use pyproject.toml (#1144)
* BLD: update build system and use pyproject.toml
- Loading branch information
1 parent
c410d19
commit 9a11985
Showing
3 changed files
with
55 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[build-system] | ||
requires = ["setuptools>=64", "setuptools_scm>=8", "cmake", "swig"] | ||
|
||
[project] | ||
name = "pyccl" | ||
authors = [ | ||
{name = "LSST DESC"}, | ||
] | ||
description="Library of validated cosmological functions." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
keywords = ["cosmology", "astrophysics", "physics", "science", "LSST"] | ||
license = { text = "BSD" } | ||
dynamic = ["version"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: C", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Astronomy", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
dependencies = [ | ||
"numpy", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://lsstdesc.org/" | ||
documentation = "https://ccl.readthedocs.io/en/latest/" | ||
repository = "https://github.com/LSSTDESC/CCL" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest", | ||
"pytest-cov", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["pyccl*"] | ||
|
||
[tool.setuptools.package-data] | ||
pyccl = ["_ccllib.so", "emulators/data/*.npz"] | ||
|
||
[tool.setuptools_scm] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters