Skip to content

Commit

Permalink
relax python version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeo committed Jun 18, 2024
1 parent 406277f commit 6e2b0a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
ZPOOL=""
SERVER=""
PYTHON?=/usr/local/bin/python3.9
PYTHON?=/usr/local/bin/python3

depends:
@(pkg -vv | grep -e "url.*/latest") > /dev/null 2>&1 || (echo "It is advised pkg url is using \"latest\" instead of \"quarterly\" in /etc/pkg/FreeBSD.conf.";)
@test -s ${PYTHON} || (echo "Python binary ${PYTHON} not found, iocage will install python39"; pkg install -q -y python39)
pkg install -q -y py39-libzfs
@test -s ${PYTHON} || (echo "Python binary ${PYTHON} not found, iocage will install python3"; pkg install -q -y python3)
${PYTHON} -m ensurepip
${PYTHON} -m pip install -Ur requirements.txt

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/freebsd/iocage.svg)](http://isitmaintained.com/project/freebsd/iocage "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/freebsd/iocage.svg)](http://isitmaintained.com/project/freebsd/iocage "Percentage of issues still open")
![Python Version](https://img.shields.io/badge/Python-3.9-blue.svg)
![Python Version](https://img.shields.io/badge/Python-3.11-blue.svg)
[![GitHub issues](https://img.shields.io/github/issues/freebsd/iocage.svg)](https://github.com/freebsd/iocage/issues)
[![GitHub forks](https://img.shields.io/github/forks/freebsd/iocage.svg)](https://github.com/freebsd/iocage/network)
[![GitHub stars](https://img.shields.io/github/stars/freebsd/iocage.svg)](https://github.com/freebsd/iocage/stargazers)
Expand All @@ -15,15 +15,15 @@ technologies the FreeBSD operating system has to offer. It is geared for ease
of use with a simple and easy to understand command syntax.

iocage is in the FreeBSD ports tree as sysutils/py-iocage.
To install using binary packages, simply run: `pkg install py39-iocage`
To install using binary packages, simply run: `pkg install sysutils/iocage`

## Installation

### GitHub:

The FreeBSD source tree ***must*** be located at `$SRC_BASE` (`/usr/src` by default) to build from git.

- `pkg install python39 git-lite py39-cython py39-libzfs py39-pip`
- `pkg install python3 git-lite lang/cython3 devel/py-pip`
- `git clone https://github.com/freebsd/iocage`
- `make install` as root

Expand All @@ -35,7 +35,7 @@ To install subsequent updates: run `make install` as root.

### Pkg:

- It is possible to install pre-built packages using pkg(8) if you are using FreeBSD 10 or above: `pkg install py39-iocage`
- It is possible to install pre-built packages using pkg(8) if you are using FreeBSD 10 or above: `pkg install sysutils/iocage`

#### Upgrading from `iocage_legacy`:

Expand Down

0 comments on commit 6e2b0a0

Please sign in to comment.