mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-20 03:57:38 +08:00

* wip: use PyQT5 for window display * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip: first slide is shown * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip: pushing non-working code * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip: some logging * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: new configuration wizard working * fix: prevent key error * wip: making action work * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip: soon done! info + video * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: bugs in sleep and exiting * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * try: offscreen * fix: pop default value if not present * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: add aspect ratio option * chore: typing wip * fix: now() function returns seconds, not milliseconds anymore Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
56 lines
1.6 KiB
Python
56 lines
1.6 KiB
Python
# type: ignore
|
|
import importlib.util
|
|
import os
|
|
import sys
|
|
|
|
import setuptools
|
|
|
|
if sys.version_info < (3, 7):
|
|
raise RuntimeError("This package requires Python 3.7+")
|
|
|
|
spec = importlib.util.spec_from_file_location(
|
|
"__version__", os.path.join("manim_slides", "__version__.py")
|
|
)
|
|
version = importlib.util.module_from_spec(spec)
|
|
spec.loader.exec_module(version)
|
|
|
|
|
|
with open("README.md", "r") as f:
|
|
long_description = f.read()
|
|
|
|
setuptools.setup(
|
|
name="manim-slides",
|
|
version=version.__version__,
|
|
author="Jérome Eertmans (previously, Federico A. Galatolo)",
|
|
author_email="jeertmans@icloud.com (resp., federico.galatolo@ing.unipi.it)",
|
|
description="Tool for live presentations using manim",
|
|
url="https://github.com/jeertmans/manim-slides",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
packages=setuptools.find_packages(),
|
|
entry_points={
|
|
"console_scripts": [
|
|
"manim-slides=manim_slides.main:cli",
|
|
],
|
|
},
|
|
python_requires=">=3.7",
|
|
install_requires=[
|
|
"click>=8.0",
|
|
"click-default-group>=1.2",
|
|
"numpy>=1.19.3",
|
|
"pydantic>=1.9.1",
|
|
"pyqt5>=5.15",
|
|
"opencv-python>=4.6",
|
|
"tqdm>=4.62.3",
|
|
],
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
)
|