Skip to content

Commit

Permalink
fix installation problems
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 23, 2024
1 parent fd98f63 commit 12320fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
.task
.venv
.vscode
.python-version
dist
__pycache__

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,24 @@ This project is in an early state of development. If you are interested, it's be

## Setup dev environment

Currently, Python 3.12 is required, 3.13 is not compatible yet (missing wheels and e.g. llvmlite).

### Using `uv` (recommended)

Install the `pyproject.toml` in editable mode, tested with
[uv](https://github.com/astral-sh/uv):

```bash
uv venv
uv pip install -e ".[dev,testing]"
uv pip install -e ".[dev]"
```

### Using `conda`

```bash
conda create -n exp-2024-05-depiction python=3.11
conda activate exp-2024-05-depiction
pip install -e ".[dev,testing]"
pip install -e ".[dev]"
```

## Geometry Conventions
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ readme = "README.md"
license = { text = "Apache-2.0" }

dependencies = [
"setuptools",
"alphapept>=0.5.2",
# TODO investigate
"altair<5.4.0",
Expand Down Expand Up @@ -62,6 +61,7 @@ testing = [
"pytest-mock"
]
dev = [
"depiction[testing]",
"bokeh>=3.3.2",
"hvplot>=0.9.0",
"jupyterlab>=4.0.9",
Expand All @@ -73,7 +73,7 @@ dev = [
"licensecheck",
"hdbscan",
"nox[uv]",
"spatialdata",
"spatialdata>=0.2.3",
"spatialdata-plot>=0.2.1",
"types-tqdm",
"rpy2",
Expand Down

0 comments on commit 12320fb

Please sign in to comment.