Skip to content

Commit

Permalink
Merge pull request bitcraze#580 from bitcraze/krichardsson/update-pyt…
Browse files Browse the repository at this point in the history
…hon-version

Updated to python 3.7
  • Loading branch information
ataffanel authored Jan 27, 2022
2 parents ab4b165 + b0b3824 commit 9e62c10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/installation/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ Make sure that you have installed the [prerequisites](#prerequisites-installatio

## From Pypi (Windows, Mac, Linux, ..., with python3)

Each release of the client is pushed to the [pypi repository](https://pypi.org/project/cfclient/). If you have python >= 3.6, it can be installed with pip:
Each release of the client is pushed to the [pypi repository](https://pypi.org/project/cfclient/).
If you have python >= 3.7, it can be installed with pip:

```
pip3 install cfclient
Expand All @@ -86,7 +87,7 @@ pip3 install cfclient

If you are planning to do development with the cfclient, you are at right spot! The Crazyflie client requires Python >= 3.6. The following instructions describe hot to install it from source. Make sure to also install the [cflib](https://github.com/bitcraze/crazyflie-lib-python) from source as well!

Make sure that you have installed the [prerequisites](#prerequisites-installation)
The sections bellow describes how to install the client from source on various platforms, they all require Python >= 3.7.

## Pip and Venv

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
# except:
# pass

if sys.version_info < (3, 6):
raise "must use python 3.6 or greater"
if sys.version_info < (3, 7):
raise "must use python 3.7 or greater"


def relative(lst, base=''):
Expand Down

0 comments on commit 9e62c10

Please sign in to comment.