From 3cfc3e7de1b14273924ceb95d9e7b5e0c971ff77 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 23 Dec 2014 11:37:58 +0200 Subject: PyPI-compatibility changes --- LICENSE.txt | 22 ++++++++++++++++++++++ README.md | 55 ------------------------------------------------------- README.rst | 35 +++++++++++++++++++++++++++++++++++ setup.py | 1 + 4 files changed, 58 insertions(+), 55 deletions(-) create mode 100644 LICENSE.txt delete mode 100644 README.md create mode 100644 README.rst diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..eb8de8a --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright (c) 2012, Filipp Lepalaan +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md deleted file mode 100644 index cd29b41..0000000 --- a/README.md +++ /dev/null @@ -1,55 +0,0 @@ -py-gsxws -====== - -py-gsxws is a Python library designed to work with Apple's GSX Web Services API. -The goal is for it to support all the features of the API. -Currently it supports most of them. - -Installation: - - pip install -U -e git+git://github.com/filipp/py-gsxws.git#egg=gsxws - - -It goes a little something like this: - - # check warranty status - import gsxws - gsxws.connect(apple_id, password, sold_to) - mac = gsxws.Product('70033CDFA4S') - mac.warranty() - - # get available parts for this machine - mac.parts() - - -Requirements -============ - -- Python 2.7 or later -- lxml - - -LICENSE -======= -Copyright (c) 2012, Filipp Lepalaan -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..3c77d40 --- /dev/null +++ b/README.rst @@ -0,0 +1,35 @@ +******** +py-gsxws +******** + +py-gsxws is a Python library designed to work with Apple's GSX Web Services API. +The goal is for it to support all the features of the API. +Currently it supports most of them. + +Installation: + + pip install -U -e git+git://github.com/filipp/py-gsxws.git#egg=gsxws + + +It goes a little something like this: + + # check warranty status + import gsxws + gsxws.connect(apple_id, password, sold_to) + mac = gsxws.Product('70033CDFA4S') + mac.warranty() + + # get available parts for this machine + mac.parts() + + +Check the tests-folder for more examples. + + +************ +Requirements +************ + +- Python 2.7 or later +- lxml +- PyYAML diff --git a/setup.py b/setup.py index 58b754b..ebfc5b0 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ setup( author="Filipp Lepalaan", author_email="filipp@fps.ee", url="https://github.com/filipp/py-gsxws", + download_url="https://github.com/filipp/py-gsxws/tarball/0.5", license="BSD", packages=find_packages(), ) -- cgit v1.2.3