Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Use pbr for setup.py

Soeren Wegenerb1e1b831eae7
diff --git a/.gitignore b/.gitignore
index 54885c871..93c5066e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,10 @@ ben_cairo_test.py
media
manim.sublime-project
manim.sublime-workspace
+.eggs/
+build/
+dist/
+manim.egg-info/
primes.py
/media_dir.txt
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 000000000..ca3245529
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,16 @@
+[metadata]
+name = manim
+author = Grant Sanderson
+author-email= [email protected]
+summary = Animation engine for explanatory math videos
+description-file = README.md
+description-content-type = text/x-md; charset=UTF-8
+home-page = https://github.com/3b1b/manim
+project_urls =
+ Bug Tracker = https://github.com/3b1b/manim/issues
+ Documentation = https://github.com/3b1b/manim
+ Source Code = https://github.com/3b1b/manim
+license = MIT
+
+[files]
+packages = manimlib
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 301b27429..aa2d8a019 100644
--- a/setup.py
+++ b/setup.py
@@ -1,25 +1,8 @@
-from setuptools import setup, find_namespace_packages
+#!/usr/bin/env python
+from setuptools import setup
-setup(name='manim',
- version='0.1.0',
- description='Animation engine for explanatory math videos',
- author='Grant Sanderson',
- author_email='[email protected]',
- url='https://github.com/3b1b/manim',
- license='MIT',
- packages=find_namespace_packages(),
- install_requires=[
- 'colour',
- 'numpy',
- 'Pillow',
- 'progressbar',
- 'scipy',
- 'tqdm',
- 'opencv-python',
- 'pycairo',
- 'pydub',
- ],
- scripts=['manim.py', 'stage_scenes.py'],
- package_data={'manimlib': ['*.tex', 'files/**']},
+setup(
+ setup_requires=['pbr'],
+ pbr=True,
)