From a6d629893a5a64bfadcffdca09f56ba8c3d11d2c Mon Sep 17 00:00:00 2001 From: Will Stott Date: Fri, 25 Oct 2019 15:10:44 +0100 Subject: [PATCH] Add setup.py, set version to 0.0.1 --- lazyjson.py | 26 ++++++++++++++++++++++++++ setup.py | 30 ++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 setup.py diff --git a/lazyjson.py b/lazyjson.py index fd14b7f..0b7f36b 100644 --- a/lazyjson.py +++ b/lazyjson.py @@ -1,3 +1,29 @@ +""" +lazyjson.py v0.0.1 + +MIT License + +Copyright (c) 2019 Will Stott + +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. +""" + import json diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f0642b0 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +from setuptools import setup + +with open("README.rst", "r") as fh: + long_description = fh.read() + +setup( + name='lazyjson', + version='0.0.1', + license='MIT', + author='Will Stott', + author_email='willstott101@gmail.com', + url='https://github.com/willstott101/lazyjson', + long_description=long_description, + long_description_content_type="text/x-rst", + py_modules=['lazyjson'], + requires=[], + description='Encode existing JSON strings within new JSON documents efficiently...ish', + classifiers=[ + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + project_urls={ + 'Source': 'https://github.com/willstott101/lazyjson', + }, + python_requires='>=3.5', +) \ No newline at end of file