diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..15186e7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +Copyright (c) 2021-2022 Ulbwazhine + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all copies +or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5432c2a --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +
+

MockupEngineer

+

An simple library for creating beautiful screenshots.

+
\ No newline at end of file diff --git a/requirements.txt b/requirements.txt index edeb731..2a5c5af 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -Pillow>=8.4.0 \ No newline at end of file +Pillow>=8.4.0 +setuptools>=59.2.0 \ No newline at end of file diff --git a/setup.py b/setup.py index 45ddb24..3936cd1 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,21 @@ from setuptools import setup +try: + from pypandoc import convert + + read_md = lambda f: convert(f, 'rst') +except ImportError: + read_md = lambda f: open(f, 'r').read() + setup( name='MockupEngineer', - version='2022.22.01.1', + version='2022.22.01.2', packages=['MockupModule', 'MockupModule.templates'], url='https://github.com/ulbwazhine/MockupEngineer', - license='', - author='ulbwa', + license='MIT', + author='Ulbwazhine', author_email='ulbwa@icloud.com', - description='An simple library for creating beautiful screenshots.' + description='An simple library for creating beautiful screenshots.', + install_requires=open('./requirements.txt', 'r').readlines(), + long_description=read_md('README.md') )