From 41d0b7ddca33ed0ec58d93eefa0c948881a9a107 Mon Sep 17 00:00:00 2001 From: lukkea Date: Fri, 9 Oct 2020 10:19:54 +0100 Subject: [PATCH] removed requirements.txt and adjusted "Windows users (using PyCharm)" to reflect that removal --- README.development | 28 +++++++++++----------------- requirements.txt | 4 ---- 2 files changed, 11 insertions(+), 21 deletions(-) delete mode 100644 requirements.txt diff --git a/README.development b/README.development index c354d8b4c..5cd8791a5 100644 --- a/README.development +++ b/README.development @@ -208,6 +208,11 @@ While some of this list is in an arbitrary order, significant steps are in a spe http://repo.msys2.org/msys/x86_64/rsync-3.1.3-1-x86_64.pkg.tar.xz - extract the tar, then extract usr\bin\rsync.exe to c:\Program Files\Git\usr\bin as for protoc.exe above +- install remaining dependencies to Python packages + - pip install https://github.com/ankitects/windows-ci-tools/PyAudio-0.2.11-cp37-cp37-win_amd64.whl + - pip install lameenc + - pip install python-gettext + - clone your GitHub Anki fork to a local folder - open that local Anki source folder in PyCharm @@ -231,15 +236,13 @@ While some of this list is in an arbitrary order, significant steps are in a spe - git config --global core.autocrlf true - ensure your virtual environment is set up as you like it to be - - don't forget to add the virtual environment & .idea folders to your global (not local) .gitignore if you haven't - already + - if you don't set the virtual environment to pyenv (Anki's virtual environment folder) don't forget to add the + virtual environment folder to your global (not local) .gitignore if you haven't already. -- run these three commands: +- add .idea folder to .gitignore + +- from project root run: - pip install -r qt/requirements.qt - - pip install -r requirements.txt - - pipwin install pyaudio - - - note if requirements.txt isn't available see "- to manually install requirements:" below - in PyCharm - either: @@ -249,19 +252,10 @@ While some of this list is in an arbitrary order, significant steps are in a spe - right click 'run' file in Anki project root and click the command to run it - watch the magic happen (it takes a while and there are a couple of long pauses). -- to manually install requirements: - - use Git Bash within your local root Anki folder to run these commands: - - for portaudio: - - pip install pipwin - - pipwin install pyaudio - - pip install lameenc - - pip install py-make - - pip install python-gettext - please note: these instructions have been based off the general notes above and the notes for installing for Windows using Visual Studio. Without those notes this section would have been very difficult, if not impossible. -Enviromental Variables +Environmental Variables ----------------------- If ANKIDEV is set before starting Anki, some extra log messages will be printed on stdout, diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a9fe95276..000000000 --- a/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -lameenc==1.2.2 -pipwin==0.5.0 -py-make==0.1.1 -python-gettext==4.0