Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 0 additions & 112 deletions .github/workflows/make-requirements.yml

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ An algorithm to pack molecular recipes
git clone [email protected]:mesoscope/cellpack.git
cd cellpack
```
1. Create a new virtual environment and activate it.
3. Create a new virtual environment and activate it.
```bash
python -m venv .venv
source .venv/bin/activate
```
1. Install the required packages for your operating system. Replace `linux` with `macos` or `windows` as appropriate.
4. Install the package and its dependencies from `pyproject.toml`.
```bash
pip install --upgrade pip
pip install -r requirements/linux/requirements.txt
pip install -e .
```

Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile.ecs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ WORKDIR /cellpack
COPY . /cellpack

RUN python -m pip install --upgrade pip --root-user-action=ignore
RUN python -m pip install . -r requirements/linux/requirements.txt --root-user-action=ignore
RUN python -m pip install uv --root-user-action=ignore
RUN uv sync --no-default-groups --group server --frozen
ENV PATH="/cellpack/.venv/bin:$PATH"
Comment on lines +7 to +9
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initially I used pip install ".[server]", but that resolves fresh from PyPI on each build which means rebuilds could pick up different versions. Switching to uv sync keeps the install pinned to uv.lock, giving us more consistent builds.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just tried running this locally and it worked perfectly!


EXPOSE 80

Expand Down
7 changes: 3 additions & 4 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ Ready to contribute? Here's how to set up `cellpack` for local development.
git clone [email protected]:{your_name_here}/cellpack.git
```

3. Install the project in editable mode by following installation instructions [here](./docs/INSTALL.md). (It is also recommended to work in a virtual environment):
3. Install the project in editable mode by following installation instructions [here](./INSTALLATION.md). (It is also recommended to work in a virtual environment):

```bash
cd cellpack/
pip install -r requirements/linux/requirements.txt
pip install -e .[dev]
uv sync
Copy link
Copy Markdown
Collaborator Author

@rugeli rugeli Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to address copilot's review comment(slightly out of scope): pip install -e .[dev] has been silently failing on main since the dev lives in [dependency-groups] and pip's [extra] syntax can't read. Switched the contributor setup to use uv sync instead.

```

4. Create a branch for local development:
Expand Down Expand Up @@ -51,7 +50,7 @@ Ready to contribute? Here's how to set up `cellpack` for local development.

### Contributing cheat sheet

1. `pip install -e .[dev]`
1. `uv sync`

This will install your package in editable mode with all the required development
dependencies (i.e. `tox`).
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies = [
"pandas",
"plotly",
"pycollada",
"pydantic",
"pymunk",
"python-dotenv",
"rtree",
Expand Down Expand Up @@ -79,6 +80,9 @@ docs = [
"linkify-it-py",
"myst-parser",
]
server = [
"aiohttp",
]

[build-system]
requires = ["uv_build>=0.8.14,<0.9.0"]
Expand All @@ -96,7 +100,6 @@ source-include = [
"docker",
"docs",
"examples",
"requirements",
".dockerignore",
"tests",
"__init__.py",
Expand Down
Loading
Loading