From 41edf450a52731d4ace6b7265c29b9c55be0bf27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D1=83=D0=BB=D1=8C=D0=B1=D0=B0?= <81091299+ulbwa@users.noreply.github.com> Date: Sat, 22 Jan 2022 15:06:56 +0500 Subject: [PATCH] 2022.22.01.13 --- MANIFEST.in | 2 ++ setup.py | 13 +++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..ebd359e --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include readme.md +include requirements.txt \ No newline at end of file diff --git a/setup.py b/setup.py index 06e83eb..55b74c8 100644 --- a/setup.py +++ b/setup.py @@ -1,20 +1,17 @@ -import os - from setuptools import setup -path = os.path.dirname(os.path.abspath(__file__)) - setup( name='MockupEngineer', - version='2022.22.01.6', + version='2022.22.01.13', packages=['MockupModule', 'MockupModule.templates'], url='https://github.com/ulbwazhine/MockupEngineer', license='MIT', author='Ulbwazhine', author_email='ulbwa@icloud.com', description='An simple library for creating beautiful screenshots.', - install_requires=open('{}/requirements.txt'.format(path), 'r').readlines(), - long_description=open('{}/readme.md'.format(path), 'r').read(), - long_description_content_type='text/markdown' + install_requires=[line.strip() for line in open("requirements.txt").readlines()], + long_description=open('readme.md', 'r').read(), + long_description_content_type='text/markdown', + include_package_data=True )