mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Merge pull request #25 from hashar/pip-install-aggdraw
Make pip to install aggdraw from github
This commit is contained in:
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
|
||||
|
||||
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
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Requirements to be installed outside of pip:
|
||||
aggdraw (try it from scottopell/aggdraw-64bits@c95aac4)
|
||||
ffmpeg
|
||||
latex
|
||||
|
||||
Here are directions that should work on any 64 bit platform (tested on osx
|
||||
10.11.4)
|
||||
Note: pip will install the python module `aggdraw` from
|
||||
https://github.com/scottopell/aggdraw-64bits/ and it might requires additional
|
||||
dependencies.
|
||||
|
||||
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
|
||||
Try running the following:
|
||||
|
||||
|
@ -4,3 +4,4 @@ Pillow==3.4.2
|
||||
progressbar==2.3
|
||||
scipy==0.17.1
|
||||
tqdm==4.7.1
|
||||
git+https://github.com/scottopell/aggdraw-64bits@c95aac4369038706943fd0effb7d888683860e5a#egg=aggdraw
|
||||
|
Reference in New Issue
Block a user