Metadata-Version: 2.1
Name: joon-oiio
Version: 0.1
Summary: OpenImageIO (OIIO) for Python
Home-page: https://github.com/Correct-Syntax/py-oiio
Author: joon
Author-email: postmann@kakao.com
License: MIT
Keywords: openimageio,oiio
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# py-oiio
Python wheels for OpenImageIO

Currently, just a simple explainer, etc on how to create a usable python module.


## Usage

```python
import oiio
from oiio import ImageInput, ImageOutput
from oiio import ImageBuf, ImageSpec, ImageBufAlgo
```

Everything else should be the same as in the official [OIIO documentation](https://openimageio.readthedocs.io/en/latest/index.html).


## Windows build steps

- Get vcpkg and run script to install 
- Install OpenImageIO ``./vcpkg install openimageio[pybind11]:x64-windows``
- Copy the ``vcpkg\installed\x64-windows\lib\python3.10\site-packages\OpenImageIO.cp310-win_amd64.pyd`` file to ``oiio``
- Copy DLLs from ``vcpkg\installed\x64-windows\bin`` to ``oiio``
- Rename pyd file to ``OpenImageIO``


## Releasing on PyPI

- Follow the above steps to build OpenImageIO for Python
- Navigate to the root directory
- Run ``py -m build``
- Then run ``twine upload dist/*`` and follow the prompts.


# License

Licensed under the MIT license.
