From 0a33bc91b6a710691a1db3c888c515d865c3c8f8 Mon Sep 17 00:00:00 2001 From: chenwenquan Date: Wed, 3 Aug 2016 03:01:41 +0800 Subject: [PATCH] add setup file --- LICENSE | 21 +++++++++++++++++++++ setup.cfg | 4 ++-- setup.py | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 LICENSE create mode 100644 setup.py diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2ae3bbd --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 kevinchen + +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. diff --git a/setup.cfg b/setup.cfg index 7da1f96..2a9acf1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ -[flake8] -max-line-length = 100 +[bdist_wheel] +universal = 1 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6336ba6 --- /dev/null +++ b/setup.py @@ -0,0 +1,48 @@ +""" +Install +``````` + +.. code:: bash + + pip install flask-qiniu + +Links +````` + +* `website `_ + +""" + + +from setuptools import setup + +setup( + name='flask-qiniu', + version='0.0.1', + url='https://github.com/kevinchendev/flask-qiniu', + license='MIT', + author='kevinchen', + author_email='wqchen.xjtuer@gmail.com', + keywords='GitHub flask-qiniu', + description='qiniu file uploader for flask!', + long_description=__doc__, + py_modules=['qiniu'], + platforms='any', + install_requires=[ + 'qiniu==7.0.6' + ], + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + ], +)