Skip to content

Commit

Permalink
Add requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehmann authored and Lehmann committed Oct 8, 2021
1 parent ab28ac1 commit cd55451
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pptx2h5p.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from get_image_size import get_image_size

VERSION = "1.2"
YEAR = "2021"
target_ratio = 2 # target aspect ratio for slides in h5p


Expand Down Expand Up @@ -92,7 +93,7 @@ def add_to_json(newfile, image_folder, images, title):
# Manifest
print("Powerpoint to h5p Converter.")
print(f"Version: {VERSION}")
print("Martin Lehmann, 2020")
print(f"Martin Lehmann, {YEAR}")
print("Licence: BSD-2-Clause")
print("Source code: https://github.com/MM-Lehmann/pptx2h5p")
if len(sys.argv) != 2:
Expand Down
2 changes: 2 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
natsort
pyinstaller
23 changes: 23 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile
#
altgraph==0.17.2
# via pyinstaller
future==0.18.2
# via pefile
natsort==7.1.1
# via -r requirements.in
pefile==2021.9.3
# via pyinstaller
pyinstaller==4.5.1
# via -r requirements.in
pyinstaller-hooks-contrib==2021.3
# via pyinstaller
pywin32-ctypes==0.2.0
# via pyinstaller

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit cd55451

Please sign in to comment.