An open API service indexing awesome lists of open source software.

https://github.com/j0yu/rez-cpdf

rez package for cpdf
https://github.com/j0yu/rez-cpdf

linux package rez

Last synced: 23 days ago
JSON representation

rez package for cpdf

Awesome Lists containing this project

README

        

# cpdf

[![CI](../..//workflows/CI/badge.svg?branch=main)](../../actions?query=workflow%3ACI+branch%3Amain)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

[rez] package to install [cpdf].

Here are some beginners instructions on how to use this repository.

## Installation

1. Install [rez] via `python install.py` method
1. Clone/download this repository
1. Ensure at least the folder printed by
this command `rez config local_packages_path`
1. Open terminal in (extracted) repository folder,
run `rez build --install`

cpdf should now be installed as a [rez] package named `cpdf`.

## Usage

Since this is a library, it is typically used as a `build_requires`.

- Libraries are available from `"$REZ_CPDF_ROOT"/lib`
- `pkgconfig` should also pick that path up from the exported `PKG_CONFIG_PATH`

## Maintenance

Whenever new official release come out, update the `__version__`
in `package.py` then re-run `rez build --install`.

If you decide to make another install, e.g. new `commands()` environment
setup, you can instead just update the `+local.` version number to indicate
new releases/versions of your own. See [PEP 540 local version segments].

Also, you can rename `+local.` to something more relevant to you
e.g. `+mystudio.` or `+mygithubname.`

----

Want more rez packages? Checkout [my GitHub repositories][j0yu-rez-packages]

[rez]: https://github.com/nerdvegas/rez
[requirement]: https://github.com/nerdvegas/rez/wiki/Package-Definition-Guide#requires
[j0yu-rez-packages]: https://github.com/j0yu?tab=repositories&q=topic%3Arez+topic%3Apackage
[cpdf]: https://github.com/coherentgraphics/cpdf-binaries
[PEP 540 local version segments]: https://www.python.org/dev/peps/pep-0440/#local-version-segments