Spaces:
Sleeping
Sleeping
dn commited on
Commit ·
7bf563d
1
Parent(s): e151422
local package
Browse files- .github/workflows/deploy.yml +2 -1
- pyproject.toml +8 -0
.github/workflows/deploy.yml
CHANGED
|
@@ -34,7 +34,8 @@ jobs:
|
|
| 34 |
# Install uv package manager for faster Python package installation
|
| 35 |
- name: 🚀 Install uv
|
| 36 |
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
|
| 37 |
-
|
|
|
|
| 38 |
# Run the build script to export notebooks to WebAssembly
|
| 39 |
- name: 🛠️ Export notebooks
|
| 40 |
run: |
|
|
|
|
| 34 |
# Install uv package manager for faster Python package installation
|
| 35 |
- name: 🚀 Install uv
|
| 36 |
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
|
| 37 |
+
- name: Install the project
|
| 38 |
+
run: uv pip install -e .
|
| 39 |
# Run the build script to export notebooks to WebAssembly
|
| 40 |
- name: 🛠️ Export notebooks
|
| 41 |
run: |
|
pyproject.toml
CHANGED
|
@@ -48,3 +48,11 @@ pythonpath = ["src"]
|
|
| 48 |
|
| 49 |
[tool.pytest.ini_options]
|
| 50 |
pythonpath = ["src"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
[tool.pytest.ini_options]
|
| 50 |
pythonpath = ["src"]
|
| 51 |
+
|
| 52 |
+
[build-system]
|
| 53 |
+
requires = ["setuptools>=61"]
|
| 54 |
+
build-backend = "setuptools.build_meta"
|
| 55 |
+
|
| 56 |
+
[tool.setuptools.packages.find]
|
| 57 |
+
where = ["src"]
|
| 58 |
+
|