mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Make pip to install aggdraw from github
pip is able to install a python module straight from a git repository and supports pinning a specific commit. Add scottopell/aggdraw-64bits to requirements.txt Adjust README.md to drop the manual install step now covered by pip install. Test plan I have created an empty virtual env on Debian GNU/Linux and ran the demo command: python extract_scene.py -p example_scenes.py SquareToCircle Signed-off-by: Antoine Musso <hashar@free.fr>
This commit is contained in:
parent
2ea2109694
commit
0db160b792
2 changed files with 11 additions and 15 deletions
25
README.md
25
README.md
|
@ -11,28 +11,23 @@ For 9/10 math animation needs, you'd probably be better off using a more well-ma
|
||||||
|
|
||||||
|
|
||||||
## Install requirements
|
## Install requirements
|
||||||
|
|
||||||
|
Manim dependencies rely on system libraries you will need to install on your
|
||||||
|
operating system:
|
||||||
|
* ffmpeg
|
||||||
|
* latex
|
||||||
|
|
||||||
|
Then you can install the python dependencies:
|
||||||
```sh
|
```sh
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Requirements to be installed outside of pip:
|
Note: pip will install the python module `aggdraw` from
|
||||||
aggdraw (try it from scottopell/aggdraw-64bits@c95aac4)
|
https://github.com/scottopell/aggdraw-64bits/ and it might requires additional
|
||||||
ffmpeg
|
dependencies.
|
||||||
latex
|
|
||||||
|
|
||||||
Here are directions that should work on any 64 bit platform (tested on osx
|
|
||||||
10.11.4)
|
|
||||||
|
|
||||||
This doesn't install freetype, but I don't think it's required for this project
|
This doesn't install freetype, but I don't think it's required for this project
|
||||||
|
|
||||||
```
|
|
||||||
cd $TMPDIR
|
|
||||||
git clone https://github.com/scottopell/aggdraw-64bits
|
|
||||||
cd aggdraw-64bits
|
|
||||||
/usr/local/bin/python setup.py build_ext -i
|
|
||||||
/usr/local/bin/python setup.py install
|
|
||||||
```
|
|
||||||
|
|
||||||
## How to Use
|
## How to Use
|
||||||
Try running the following:
|
Try running the following:
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,4 @@ Pillow==3.4.2
|
||||||
progressbar==2.3
|
progressbar==2.3
|
||||||
scipy==0.17.1
|
scipy==0.17.1
|
||||||
tqdm==4.7.1
|
tqdm==4.7.1
|
||||||
|
git+https://github.com/scottopell/aggdraw-64bits@c95aac4369038706943fd0effb7d888683860e5a#egg=aggdraw
|
||||||
|
|
Loading…
Add table
Reference in a new issue