Skip to content

Commit

Permalink
Updating pyproject.toml and README
Browse files Browse the repository at this point in the history
  • Loading branch information
emprice committed Jun 17, 2024
1 parent 07ce9ab commit 8ab4827
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@ for plat in pocky.list_all_platforms():
# Create a context for the default platform
ctx = pocky.Context.default()
```

## Installing

The easiest way to install is using pip directly:
```sh
pip install git+https://github.com/emprice/pocky.git@main
```

To build from source, you can follow this pattern:
```sh
git clone https://github.com/emprice/pocky
cd pocky
python -m build .
pip install --force-reinstall --ignore-installed dist/pocky-1.0-cp311-cp311-linux_x86_64.whl
```
You may need to change the path to the wheel depending on your OS, architecture, and Python version.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"numpy",
"numpy<2",
]

[project]
Expand Down

0 comments on commit 8ab4827

Please sign in to comment.