Commits

Alexander Solovyov committed 324c6ee

sr is not a python module, it's not possible to import it

Comments (0)

Files changed (3)

 \.swp$
 ^test_file$
+^build/
+#!/usr/bin/env python
+
 from distutils.core import setup
 
-import sr
-
 setup(name='sr',
-      version=sr.__version__,
+      version='0.1',
       description='search and replace in files',
-      long_description = sr.__doc__,
       author='Grigoriy Petukhov',
       author_email='',
       url='http://bitbucket.org/lorien/sr/',
-      packages=['sr'],
+      scripts=['sr'],
       classifiers=['Development Status :: 4 - Beta',
                    'Environment :: Console',
                    'Intended Audience :: Developers',
 import warnings
 import time
 
-__version__ = '0'
-
 IGNORE_DIRS = ['autom4te.cache', 'blib', '_build', '.bzr', '.cdv', 'cover_db',
                'CVS', '_darcs', '~.dep', '~.dot', '.git', '.hg', '~.nib',
                '.pc', '~.plst', 'RCS', 'SCCS', '_sgbak', '.svn']