From e3b57e1aa1356e5d33a8c36d0466e0acbd98bf77 Mon Sep 17 00:00:00 2001 From: Paul Woods Date: Wed, 13 Aug 2014 22:00:58 -0400 Subject: [PATCH] Eliminate dependencies in setup.py --- setup.py | 35 ++++++++++++++++++++++++++++------- vectortile/__init__.py | 25 ------------------------- 2 files changed, 28 insertions(+), 32 deletions(-) diff --git a/setup.py b/setup.py index 0fd618c..20deaac 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,35 @@ from os.path import sep from distutils.core import setup -import vectortile + setup(name='vectortile', - version=vectortile.__version__, - author=vectortile.__author__, + version=1.0, + author='Paul Woods', author_email='paul@skytruth.org', - description=vectortile.__doc__, - long_description=vectortile.__doc__, - url=vectortile.__source__, - license=vectortile.__license__, + description='', + long_description='', + url='https://github.com/SkyTruth/vectortile', + license="""The MIT License (MIT) + +Copyright (c) 2014 SkyTruth + +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. +""", packages=['vectortile', 'vectortile.tests']) \ No newline at end of file diff --git a/vectortile/__init__.py b/vectortile/__init__.py index a922cc0..0394387 100644 --- a/vectortile/__init__.py +++ b/vectortile/__init__.py @@ -2,28 +2,3 @@ from Bbox import Bbox from Tile import Tile -__version__ = 1.0 -__author__ = 'Paul Woods' -__source__ = 'https://github.com/SkyTruth/vectortile' -__license__ = """The MIT License (MIT) - -Copyright (c) 2014 SkyTruth - -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