[Checkins] SVN: Sandbox/janwijbrand/importchecker/tags/1.0/ create
release tag
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Tue May 6 09:45:27 EDT 2008
Log message for revision 86505:
create release tag
Changed:
A Sandbox/janwijbrand/importchecker/tags/1.0/
A Sandbox/janwijbrand/importchecker/tags/1.0/CHANGES.txt
A Sandbox/janwijbrand/importchecker/tags/1.0/CREDITS.txt
A Sandbox/janwijbrand/importchecker/tags/1.0/LICENSE.txt
A Sandbox/janwijbrand/importchecker/tags/1.0/README.txt
A Sandbox/janwijbrand/importchecker/tags/1.0/buildout.cfg
A Sandbox/janwijbrand/importchecker/tags/1.0/setup.py
A Sandbox/janwijbrand/importchecker/tags/1.0/src/
-=-
Copied: Sandbox/janwijbrand/importchecker/tags/1.0 (from rev 86503, Sandbox/janwijbrand/importchecker/trunk)
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/CHANGES.txt (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/CHANGES.txt)
===================================================================
--- Sandbox/janwijbrand/importchecker/tags/1.0/CHANGES.txt (rev 0)
+++ Sandbox/janwijbrand/importchecker/tags/1.0/CHANGES.txt 2008-05-06 13:45:26 UTC (rev 86505)
@@ -0,0 +1,9 @@
+Changes
+=======
+
+1.0 (unreleased)
+----------------
+
+* Initial packaging
+
+* Make the importchecker work on python 2.5
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/CREDITS.txt (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/CREDITS.txt)
===================================================================
--- Sandbox/janwijbrand/importchecker/tags/1.0/CREDITS.txt (rev 0)
+++ Sandbox/janwijbrand/importchecker/tags/1.0/CREDITS.txt 2008-05-06 13:45:26 UTC (rev 86505)
@@ -0,0 +1,7 @@
+Credits
+=======
+
+* Martijn Faassen (original developer)
+* Philipp von Weitershausen
+* Jan-Wijbrand Kolman (packaging)
+* various comitters on svn.zope.org.
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/LICENSE.txt (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/LICENSE.txt)
===================================================================
--- Sandbox/janwijbrand/importchecker/tags/1.0/LICENSE.txt (rev 0)
+++ Sandbox/janwijbrand/importchecker/tags/1.0/LICENSE.txt 2008-05-06 13:45:26 UTC (rev 86505)
@@ -0,0 +1,54 @@
+Zope Public License (ZPL) Version 2.1
+-------------------------------------
+
+A copyright notice accompanies this license document that
+identifies the copyright holders.
+
+This license has been certified as open source. It has also
+been designated as GPL compatible by the Free Software
+Foundation (FSF).
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the
+following conditions are met:
+
+1. Redistributions in source code must retain the
+ accompanying copyright notice, this list of conditions,
+ and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the accompanying
+ copyright notice, this list of conditions, and the
+ following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+3. Names of the copyright holders must not be used to
+ endorse or promote products derived from this software
+ without prior written permission from the copyright
+ holders.
+
+4. The right to distribute this software or to use it for
+ any purpose does not give you the right to use
+ Servicemarks (sm) or Trademarks (tm) of the copyright
+ holders. Use of them is covered by separate agreement
+ with the copyright holders.
+
+5. If any files are modified, you must cause the modified
+ files to carry prominent notices stating that you changed
+ the files and the date of any change.
+
+Disclaimer
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
+ AND ANY EXPRESSED 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 HOLDERS 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.
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/README.txt (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/README.txt)
===================================================================
--- Sandbox/janwijbrand/importchecker/tags/1.0/README.txt (rev 0)
+++ Sandbox/janwijbrand/importchecker/tags/1.0/README.txt 2008-05-06 13:45:26 UTC (rev 86505)
@@ -0,0 +1,54 @@
+Importchecker
+=============
+
+What is importchecker?
+----------------------
+
+Importchecker is a commandline utility to find unused imports in Python
+modules.
+
+Its output is "grep-like" (and thus "emacs-friendly"), reporting both the
+module's filenames and line numbers where names are imported that are not
+acually used in the module.
+
+Importchecker will not modify any of the source files. Whether the import
+needs to be removed is left to the judgement of the developer.
+
+Installation
+------------
+
+The importchecker commandline utility can be installed using the
+``easy_install`` command::
+
+ $ sudo easy_install importchecker
+
+The command can then be invoked with::
+
+ $ importchecker /path/to/a/source/tree
+
+Buildout
+--------
+
+Projects that make use of `zc.buildout`_ for development might find the
+following ``buildout.cfg.`` snippet useful for using the importchecker on
+the developed codebase::
+
+ [buildout]
+ ...
+ parts = importchecker ...
+ ...
+
+ [importchecker]
+ recipe = zc.recipe.egg
+ eggs = importchecker
+ arguments = "${buildout:directory}/src"
+
+.. _`zc.buildout`: http://pypi.python.org/pypi/zc.buildout
+
+Known issues
+------------
+
+* One source tree path argument at the time can be passed to the command
+ line utility.
+
+* Command line argument parsing is rather naïve.
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/buildout.cfg (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/buildout.cfg)
===================================================================
--- Sandbox/janwijbrand/importchecker/tags/1.0/buildout.cfg (rev 0)
+++ Sandbox/janwijbrand/importchecker/tags/1.0/buildout.cfg 2008-05-06 13:45:26 UTC (rev 86505)
@@ -0,0 +1,9 @@
+[buildout]
+parts = importchecker
+develop = .
+newest = false
+
+[importchecker]
+recipe = zc.recipe.egg
+eggs = importchecker
+arguments = "src/"
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/setup.py (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/setup.py)
===================================================================
--- Sandbox/janwijbrand/importchecker/tags/1.0/setup.py (rev 0)
+++ Sandbox/janwijbrand/importchecker/tags/1.0/setup.py 2008-05-06 13:45:26 UTC (rev 86505)
@@ -0,0 +1,49 @@
+from setuptools import setup, find_packages
+import sys, os
+
+version = '1.0dev'
+description = "Importchecker finds unused imports in Python modules."
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+long_description = (
+ read('README.txt')
+ + '\n' +
+ read('CHANGES.txt')
+ + '\n' +
+ read('CREDITS.txt')
+ + '\n' +
+ 'Download\n'
+ '========\n'
+ )
+
+setup(
+ name='importchecker',
+ version=version,
+ description=description,
+ long_description=long_description ,
+ classifiers=[
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Zope Public License',
+ 'Programming Language :: Python',
+ 'Topic :: Software Development :: Quality Assurance',
+ 'Topic :: Utilities',
+ ],
+ keywords='',
+ author='Jan-Wijbrand Kolman',
+ author_email='jw at n--tree.net',
+ url='http://pypi.python.org/pypi/importchecker',
+ license='ZPL 2.1',
+ package_dir= {'': 'src'},
+ packages=find_packages('src'),
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=[
+ 'setuptools',
+ ],
+ entry_points={
+ 'console_scripts': ['importchecker=importchecker.importchecker:main'],
+ },
+ )
Copied: Sandbox/janwijbrand/importchecker/tags/1.0/src (from rev 86504, Sandbox/janwijbrand/importchecker/trunk/src)
More information about the Checkins
mailing list