Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Add setup.py

Devin Neala169645a8cb8
diff --git a/manim.py b/manim.py
deleted file mode 100755
index 2bebaea66..000000000
--- a/manim.py
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env python
-import manimlib
-
-if __name__ == "__main__":
- manimlib.main()
diff --git a/setup.py b/setup.py
new file mode 100755
index 000000000..6410773c6
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,30 @@
+from setuptools import setup, find_namespace_packages
+setup(
+ name="manimlib",
+ version="0.2.0",
+ description="Animation engine for explanatory math videos",
+ license="MIT",
+ packages=find_namespace_packages(),
+ package_data={ "manimlib": ["*.tex"] },
+ entry_points={
+ "console_scripts": [
+ "manim=manimlib:main",
+ "manimcm=manimlib:main",
+ ]
+ },
+ install_requires=[
+ "colour",
+ "argparse",
+ "colour",
+ "numpy",
+ "Pillow",
+ "progressbar",
+ "scipy",
+ "tqdm",
+ "opencv-python",
+ "pycairo",
+ "pydub",
+ "pygments",
+ "pyreadline; sys_platform == 'win32'",
+ ],
+)