git @ Cat's Eye Technologies kinoje / 6f4573d
Merge pull request #6 from catseye/develop-0.7 Develop 0.7 Chris Pressey authored 3 years ago GitHub committed 3 years ago
7 changed file(s) with 11 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
+0
-11
Dockerfile less more
0 FROM python:3.5.7-slim-stretch
1 RUN apt-get update && apt-get upgrade -y
2 RUN apt-get install -y povray povray-includes ffmpeg imagemagick librsvg2-bin
3 RUN mkdir /mnt/host
4 WORKDIR /usr/src/app
5 COPY requirements.txt ./
6 RUN pip install --no-cache-dir -r requirements.txt
7 COPY bin ./bin
8 COPY src ./src
9 ENV PATH="/usr/src/app/bin:${PATH}"
10 WORKDIR /mnt/host
00 kinoje
11 ======
22
3 *Version 0.6. Subject to backwards-incompatible changes without notice.*
3 _Version 0.7_
4 | _Entry_ [@ catseye.tc](https://catseye.tc/node/kinoje)
5 | _See also:_ [Canvas Feedback](https://github.com/catseye/Canvas-Feedback#readme)
6
7 - - - -
8
9 <img align="right" src="https://static.catseye.tc/movies/glass-warts.gif" />
410
511 **kinoje** is a templating-based animation tool. A provided template is filled out once for each
612 frame of the animation; the result of the template expansion is used to create a still image; and
+0
-14
build-docker-image.sh less more
0 #!/bin/sh
1
2 # After building the image, you can run kinoje from within it like:
3 #
4 # docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" kinoje \
5 # kinoje eg/moebius.yaml -o moebius.mp4
6 #
7
8 rm -rf src/kinoje/*.pyc src/kinoje/__pycache__
9 docker container prune
10 docker rmi catseye/kinoje:0.6
11 docker rmi kinoje
12 docker build -t kinoje .
13 docker tag kinoje catseye/kinoje:0.6
9494 argparser.add_argument("--view", default=False, action='store_true',
9595 help="Display the resultant movie."
9696 )
97 argparser.add_argument('--version', action='version', version="%(prog)s 0.7")
9798
9899 options = argparser.parse_args(sys.argv[1:])
99100
5151 argparser.add_argument('instantsdir', metavar='DIRNAME', type=str,
5252 help='Directory that will be populated with instants (text files describing frames)'
5353 )
54 argparser.add_argument('--version', action='version', version="%(prog)s 0.7")
5455
5556 options = argparser.parse_args(sys.argv[1:])
5657
2929 'If not given, a default name will be chosen based on the '
3030 'configuration filename with a .mp4 extension added.' % (SUPPORTED_OUTPUT_FORMATS,)
3131 )
32 argparser.add_argument('--version', action='version', version="%(prog)s 0.7")
3233
3334 options, unknown = argparser.parse_known_args(sys.argv[1:])
3435 remainder = ' '.join(unknown)
5555 argparser.add_argument('framesdir', metavar='DIRNAME', type=str,
5656 help='Directory that will be populated with images, one for each frame'
5757 )
58 argparser.add_argument('--version', action='version', version="%(prog)s 0.7")
5859
5960 options = argparser.parse_args(sys.argv[1:])
6061