Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
moving all dev setup to contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryaaron committed Jan 25, 2024
1 parent eb3562d commit 1415612
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Contributing

## Setup

This project is built using the [Poetry](https://python-poetry.org/docs/) build tool.
First, install Poetry in your local environment via
```
curl -sSL https://install.python-poetry.org | python3 - -y
```
or see the [installation guide](https://python-poetry.org/docs/#installation)
for alternate installation methods.

Once Poetry is installed, you can install `flamingo` for development by running
```
poetry lock
poetry install
```
This will install an editable version of the package along with all of its dependency groups.
Poetry should recognize your active virtual environment during installation
and install the package dependencies there.

The `pyproject.toml` file defines dependency groups for the logical job types in the package.
Individual dependency groups can be installed by running
`poetry install --with <group1>,<group2>` or `poetry install --only <group>`.


## Code style

This repository uses [Ruff](https://docs.astral.sh/ruff/) for Python formatting and linting.
Expand Down
21 changes: 3 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,13 @@ cluster environment (Ray cluster is running 3.10.8).

### Installation

This project is built using the [Poetry](https://python-poetry.org/docs/) build tool.
First, install Poetry in your local environment via
```
curl -sSL https://install.python-poetry.org | python3 - -y
```
or see the [installation guide](https://python-poetry.org/docs/#installation)
for more instructions.
run

Once Poetry is installed, you can install `flamingo` for development by running
```
poetry lock
poetry install
pip install flamingo (TODO-name update)
```
This will install an editable version of the package along with all of its dependency groups.
Poetry should recognize your active virtual environment during installation
and install the package dependencies there.

The `pyproject.toml` file defines dependency groups for the logical job types in the package.
Individual dependency groups can be installed by running
`poetry install --with <group1>,<group2>` or `poetry install --only <group>`.

See the [contributing](CONTRIBUTING.md) guide for more information on development workflows.
See the [contributing](CONTRIBUTING.md) guide for more information on development workflows and/or building locally.

### Usage

Expand Down

0 comments on commit 1415612

Please sign in to comment.