Skip to content

Commit

Permalink
add tests about array
Browse files Browse the repository at this point in the history
  • Loading branch information
sinianluoye committed Jul 13, 2024
1 parent 4b7e65c commit 9a62897
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/python-publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
python-version: "3.11"

- name: Build release distributions
env:
MANIM_ALGORITHM_COMMIT_HASH: ${{ github.sha }}
run: |
pip install setuptools wheel
python setup.py sdist bdist_wheel
Expand Down
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
from setuptools import setup, find_packages

import os
commit_hash = os.environ.get("MANIM_ALGORITHM_COMMIT_HASH").strip()
version = "0.0.2"
if commit_hash:
version = f"{version}+{commit_hash[:7]}"

setup(
name='manim-algorithm',
version='0.0.2',
version=version,
packages=find_packages(),
install_requires=[
"manim>=0.18.0"
Expand Down

0 comments on commit 9a62897

Please sign in to comment.