From c4993811de0862d12fe8087cb8129231f62cf414 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Fri, 26 Jun 2020 17:51:57 +0200 Subject: [PATCH] Fix: import and install requires --- photobook/__init__.py | 1 + photobook/photobook.py | 2 +- setup.py | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/photobook/__init__.py b/photobook/__init__.py index e69de29..84153d5 100644 --- a/photobook/__init__.py +++ b/photobook/__init__.py @@ -0,0 +1 @@ +from .photobook import Photobook diff --git a/photobook/photobook.py b/photobook/photobook.py index 79db986..33e8029 100644 --- a/photobook/photobook.py +++ b/photobook/photobook.py @@ -1,5 +1,5 @@ from fpdf import FPDF -from cropping import cut_save +from .cropping import cut_save from pathlib import Path class Photobook(FPDF): diff --git a/setup.py b/setup.py index 3949d29..bfd5a9c 100644 --- a/setup.py +++ b/setup.py @@ -8,12 +8,14 @@ except ImportError: setup( name='photobook', version='1.0', - description='Li', + description='Built photobook with python', author='Benjamin Bertrand', author_email='benjamin.bertrand@opytex.org', - url='http://git.opytex.org/lafrite/photobook.git', + url='https://git.opytex.org/lafrite/photobook.git', packages=find_packages(), include_package_data = True, install_requires=[ + "fpdf", + "Pillow", ], )