Skip to content

Commit 85abebb

Browse files
committed
build fix + CI
1 parent 728c1d1 commit 85abebb

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@ requires = ["setuptools>=69", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "decision-security" # PyPI name (import is decision_security)
7-
version = "0.1.0a6" # bump when you publish again
8-
description = "Decision-science utilities for security: Monte Carlo, Bayes, Survival, Value of Information, causal helpers, and viz."
6+
name = "decision-security"
7+
version = "0.1.0a7" # bump
8+
description = "Decision-science utilities for security: Monte Carlo, Bayes, Survival, VoI, causal, viz."
99
readme = "README.md"
1010
requires-python = ">=3.9"
1111
license = { text = "MIT" }
12-
13-
authors = [
14-
{ name = "Laura Voicu" }
15-
]
12+
authors = [{ name = "Laura Voicu" }]
13+
dependencies = ["numpy>=1.23","scipy>=1.10","pandas>=1.5","matplotlib>=3.6"]
1614

1715
keywords = [
1816
"cybersecurity",

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22

3-
# Delegate metadata to pyproject.toml; just control package discovery here.
3+
# Map the package name to the 'src' directory, which already has __init__.py and your modules.
44
setup(
5-
package_dir={"": "src"},
6-
packages=find_packages(where="src", include=["decision_security", "decision_security.*"]),
5+
packages=["decision_security"], # the install-time package name
6+
package_dir={"decision_security": "src"} # where its code lives on disk
77
)

0 commit comments

Comments
 (0)