Skip to content

Commit 8ab4827

Browse files
committed
Updating pyproject.toml and README
1 parent 07ce9ab commit 8ab4827

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ for plat in pocky.list_all_platforms():
1919
# Create a context for the default platform
2020
ctx = pocky.Context.default()
2121
```
22+
23+
## Installing
24+
25+
The easiest way to install is using pip directly:
26+
```sh
27+
pip install git+https://github.com/emprice/pocky.git@main
28+
```
29+
30+
To build from source, you can follow this pattern:
31+
```sh
32+
git clone https://github.com/emprice/pocky
33+
cd pocky
34+
python -m build .
35+
pip install --force-reinstall --ignore-installed dist/pocky-1.0-cp311-cp311-linux_x86_64.whl
36+
```
37+
You may need to change the path to the wheel depending on your OS, architecture, and Python version.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "setuptools.build_meta"
33
requires = [
44
"setuptools",
5-
"numpy",
5+
"numpy<2",
66
]
77

88
[project]

0 commit comments

Comments
 (0)