Skip to content

Commit bbcd096

Browse files
committed
Updated pyproject.toml to include data.
1 parent 791cd3d commit bbcd096

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pip install --user -r requirements.txt
2626

2727
With all of the necessary requirements installed, the below will start the app
2828
```bash
29-
python3 app.py
29+
python3 src/app.py
3030
```
3131
The console will tell you where to point your browser - likely http://127.0.0.1:8050/.
3232

pyproject.toml

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
[build-system]
2+
requires = ["setuptools>=64", "setuptools_scm>=8"]
3+
build-backend = "setuptools.build_meta"
4+
15
[project]
26
name = "pynch"
3-
version = "1.0.0"
4-
dynamic = ["dependencies"]
7+
dynamic = ["dependencies", "version"]
8+
59
[tool.setuptools]
6-
package-dir = {"" = "pynch"}
10+
include-package-data = true
11+
12+
[tool.setuptools.packages.find]
13+
where = ["src"]
14+
715
[tool.setuptools.dynamic]
816
dependencies = {file = ["requirements.txt"]}

app.py renamed to src/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def update_graph(y_var, x_value, year):
5353

5454
logit = (
5555
True
56-
if y_var in ["HalfLife", "NubaseRelativeError", "AMERelativeError"]
56+
if y_var in ["HalfLife", "NUBASERelativeError", "AMERelativeError"]
5757
else False
5858
)
5959

0 commit comments

Comments
 (0)