From 32e602571d8a67de15f1a82cba73d93d12c2e6d1 Mon Sep 17 00:00:00 2001 From: Alano Date: Sat, 19 Dec 2020 23:02:58 +0200 Subject: [PATCH] updated readme & requirements file `requirements.txt` reads directly from setup.py which means it will install all the packages listed from setup.py. This is a small work around to prevent managing two different "sources of truth". --- .gitignore | 1 + README.md | 10 ++++++---- requirements.txt | 7 +------ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 2836d9e..c0c4d43 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ docs/_build/ target/ .idea/ +venv/ \ No newline at end of file diff --git a/README.md b/README.md index 4fcdd37..802c11d 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ See the `examples` directory. ### Using the library as a Python Module -Install the package via Pip +Install the package via PyPi - pip install reolink-api==0.0.5 + pip install reolinkapi Install from GitHub - pip install git+https://github.com/ReolinkCameraAPI/reolink-python-api.git + pip install git+https://github.com/ReolinkCameraAPI/reolinkapipy.git ## Contributors @@ -65,7 +65,9 @@ Get the Restful API calls by looking through the HTTP Requests made in the camer #### Step 2 -Fork the repository and make your changes. +- Fork the repository +- pip install -r requirements.txt +- Make your changes #### Step 3 diff --git a/requirements.txt b/requirements.txt index a8aabcd..945c9b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1 @@ -numpy==1.19.4 -opencv-python==4.4.0.46 -Pillow==8.0.1 -PySocks==1.7.1 -PyYaml==5.3.1 -requests>=2.18.4 \ No newline at end of file +. \ No newline at end of file