chore: add pyproject.toml and uv.lock
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
# OM
|
||||
|
||||
SLS-2 Online Model for beam dynamics
|
||||
SLS-2 Online Model for beam dynamics
|
||||
|
||||
## Packaging
|
||||
|
||||
```
|
||||
uv build
|
||||
```
|
||||
|
||||
generates `dist/*`
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
[project]
|
||||
name = "sls2om"
|
||||
version = "0.1.0"
|
||||
description = "SLS2 Online Model for beam dynamics"
|
||||
requires-python = ">=3.9"
|
||||
|
||||
dependencies = [
|
||||
"numpy>=2.0.2",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"twine>=6.2.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/sls2om"]
|
||||
|
||||
[tool.uv]
|
||||
package = true
|
||||
Reference in New Issue
Block a user