Fix: import and install requires

This commit is contained in:
Bertrand Benjamin 2020-06-26 17:51:57 +02:00
parent 04cc338691
commit c4993811de
3 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1 @@
from .photobook import Photobook

View File

@ -1,5 +1,5 @@
from fpdf import FPDF from fpdf import FPDF
from cropping import cut_save from .cropping import cut_save
from pathlib import Path from pathlib import Path
class Photobook(FPDF): class Photobook(FPDF):

View File

@ -8,12 +8,14 @@ except ImportError:
setup( setup(
name='photobook', name='photobook',
version='1.0', version='1.0',
description='Li', description='Built photobook with python',
author='Benjamin Bertrand', author='Benjamin Bertrand',
author_email='benjamin.bertrand@opytex.org', 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(), packages=find_packages(),
include_package_data = True, include_package_data = True,
install_requires=[ install_requires=[
"fpdf",
"Pillow",
], ],
) )