update packaging method

This commit is contained in:
TonyCrane
2021-06-26 12:23:14 +08:00
parent b00d718431
commit a4c3bb03d1
4 changed files with 35 additions and 17 deletions

2
MANIFEST.in Normal file
View File

@@ -0,0 +1,2 @@
graft manimlib
recursive-exclude manimlib *.pyc *.DS_Store

3
pyproject.toml Normal file
View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

View File

@@ -1,22 +1,43 @@
[metadata] [metadata]
name = manimgl name = manimgl
version = 1.0.1
author = Grant Sanderson author = Grant Sanderson
author-email= grant@3blue1brown.com author_email= grant@3blue1brown.com
summary = Animation engine for explanatory math videos description = Animation engine for explanatory math videos
description-file = README.md long_description = file: README.md
description-content-type = text/markdown; charset=UTF-8 long_description_content_type = text/markdown; charset=UTF-8
home-page = https://github.com/3b1b/manim home_page = https://github.com/3b1b/manim
project_urls = project_urls =
Bug Tracker = https://github.com/3b1b/manim/issues Bug Tracker = https://github.com/3b1b/manim/issues
Documentation = https://3b1b.github.io/manim/ Documentation = https://3b1b.github.io/manim/
Source Code = https://github.com/3b1b/manim Source Code = https://github.com/3b1b/manim
license = MIT license = MIT
[files] [options]
packages = manimlib packages = find:
extra_files = requirements.txt include_package_data=True
install_requires =
argparse
colour
numpy
Pillow
scipy
sympy
tqdm
mapbox-earcut
matplotlib
moderngl
moderngl_window
pydub
pyyaml
screeninfo
pyreadline; sys_platform == 'win32'
validators
ipython
PyOpenGL
manimpango>=0.2.0,<0.4.0
[entry_points] [options.entry_points]
console_scripts = console_scripts =
manimgl = manimlib.__main__:main manimgl = manimlib.__main__:main
manim-render = manimlib.__main__:main manim-render = manimlib.__main__:main

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env python
from setuptools import setup
setup(
setup_requires=['pbr'],
pbr=True,
)