From 4943630b30c99fee233c5be56bd0f0279962b8ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez=20Moreno?= Date: Tue, 25 Nov 2014 12:07:42 +0100 Subject: [PATCH] Changes in order to be able to upload to pypi --- MANIFEST.in | 0 license.txt | 20 ++++++++++++++++++++ readme.rst => readme.txt | 0 setup.py | 17 +++++++++++++++++ __init__.py => sqlquerybuilder/__init__.py | 0 tests.py => sqlquerybuilder/tests.py | 0 6 files changed, 37 insertions(+) create mode 100644 MANIFEST.in create mode 100644 license.txt rename readme.rst => readme.txt (100%) create mode 100644 setup.py rename __init__.py => sqlquerybuilder/__init__.py (100%) rename tests.py => sqlquerybuilder/tests.py (100%) diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e69de29 diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..0010fc2 --- /dev/null +++ b/license.txt @@ -0,0 +1,20 @@ +Copyright (c) 2014 José Sánchez Moreno + +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/readme.rst b/readme.txt similarity index 100% rename from readme.rst rename to readme.txt diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0789c25 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# encoding: utf-8 +from distutils.core import setup +from setuptools import find_packages + +setup( + name='sqlquerybuilder', + version='0.0.2', + author='José Sánchez Moreno', + author_email='jose@o2w.es', + packages=find_packages(), + license='license.txt', + description=u'SQL Query Builder inspired on django ORM Syntax', + long_description=open('readme.txt').read(), + url='https://github.com/josesanch/sqlquerybuilder', + install_requires=[ + ], +) diff --git a/__init__.py b/sqlquerybuilder/__init__.py similarity index 100% rename from __init__.py rename to sqlquerybuilder/__init__.py diff --git a/tests.py b/sqlquerybuilder/tests.py similarity index 100% rename from tests.py rename to sqlquerybuilder/tests.py