Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Add requirements.txt and update readme on example

Syrus Dark98122e93a683
diff --git a/README.md b/README.md
index f7124d52d..c8b686278 100644
--- a/README.md
+++ b/README.md
@@ -180,7 +180,6 @@ depending on whether you want to use HTTPS or SSH. Finally, run the
following:
```sh
-
python3 -m pip install -r requirements.txt
```
@@ -188,15 +187,16 @@ python3 -m pip install -r requirements.txt
To run your first example Scene, you can run the following commands:
For users:
-1. Download the `example_scenes.py` file from [GitHub](https://github.com/ManimCommunity/manim/blob/master/example_scenes.py)
+
+1. Download the `example_scenes.py` file from [GitHub](https://github.com/ManimCommunity/manim/blob/master/example_scenes/basic.py)
2. Run the following command:
```sh
-manim example_scenes.py SquareToCircle -pl
+manim basic.py SquareToCircle -pl
```
1. Run the following command:
For developers:
```sh
-python3 manim.py example_scenes.py SquareToCircle -pl
+python3 manim.py example_scenes\basic.py SquareToCircle -pl
```
![](./readme-assets/command.png)
diff --git a/requirements.txt b/requirements.txt
index 9b54f76ae..e8472e2c8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,12 +1,12 @@
-argparse
-colour
-numpy
-Pillow
-progressbar
-scipy
-tqdm
-opencv-python
-pycairo
-pydub
-pygments
-pyreadline; sys_platform == 'win32'
+argparse==1.4.0
+colour==0.1.5
+numpy==1.18.4
+opencv-python==4.2.0.34
+Pillow==7.1.2
+progressbar==2.5
+pycairo==1.19.1
+pydub==0.24.0
+Pygments==2.6.1
+scipy==1.4.1
+tqdm==4.46.0
+pyreadline==2.1; sys_platform == 'win32'
\ No newline at end of file