mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Use pbr for setup.py
pbr automatically uses the version from git tags, and also uses the requirements.txt for dependencies, resulting in less redundancies.
This commit is contained in:
parent
1da185953c
commit
b1e1b831ea
3 changed files with 25 additions and 22 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -17,6 +17,10 @@ ben_cairo_test.py
|
||||||
media
|
media
|
||||||
manim.sublime-project
|
manim.sublime-project
|
||||||
manim.sublime-workspace
|
manim.sublime-workspace
|
||||||
|
.eggs/
|
||||||
|
build/
|
||||||
|
dist/
|
||||||
|
manim.egg-info/
|
||||||
|
|
||||||
primes.py
|
primes.py
|
||||||
/media_dir.txt
|
/media_dir.txt
|
||||||
|
|
16
setup.cfg
Normal file
16
setup.cfg
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[metadata]
|
||||||
|
name = manim
|
||||||
|
author = Grant Sanderson
|
||||||
|
author-email= grant@3blue1brown.com
|
||||||
|
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
|
27
setup.py
27
setup.py
|
@ -1,25 +1,8 @@
|
||||||
from setuptools import setup, find_namespace_packages
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
setup(name='manim',
|
setup(
|
||||||
version='0.1.0',
|
setup_requires=['pbr'],
|
||||||
description='Animation engine for explanatory math videos',
|
pbr=True,
|
||||||
author='Grant Sanderson',
|
|
||||||
author_email='grant@3blue1brown.com',
|
|
||||||
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/**']},
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue