## Copyright (c) 2006-2007 Nathan R. Yergler, Creative Commons ## 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 os try: from setuptools import setup except ImportError: from distutils.core import setup def read(*rnames): try: return open(os.path.join(os.path.dirname(__file__), *rnames)).read() except IOError, e: if e.errno == 2: # file not found, just ignore it return '' else: raise e setup( name = "log_analysis", version = "0.1", packages = ['log2blog'], entry_points = {'console_scripts' : ['blog_base_urls = log2blog.blog_base_urls:cli', 'grab_referer = log2blog.grab_referer:main', 'just_blogs = log2blog.just_blogs:cli', ]}, install_requires = ['setuptools', 'sisynala', ], include_package_data = True, zip_safe = False, author = 'Asheesh Laroia', author_email = 'asheesh@creativecommons.org', description = 'Tools for analyzing i.creativecommons.org blogs.', long_description=( read('README') + '\n' + read('CHANGES') + '\n' + 'Download\n' '********\n' ), license = 'MIT', url = 'http://wiki.creativecommons.org/ProjectPageHere', )