From fb3fd670f2839cdffda6c2b2397beb554b8880da Mon Sep 17 00:00:00 2001 From: pawel Date: Sat, 10 Mar 2012 21:29:06 +0100 Subject: [PATCH] use single quotes --- setup.py | 36 ++++++++++++++++++------------------ wecomp | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/setup.py b/setup.py index f41dea4..3c34885 100755 --- a/setup.py +++ b/setup.py @@ -7,13 +7,13 @@ from subprocess import Popen _top_dir = os.path.dirname(os.path.abspath(__file__)) -sys.path.insert(0, os.path.join(_top_dir, "lib")) +sys.path.insert(0, os.path.join(_top_dir, 'lib')) try: import wecomp finally: del sys.path[0] -classifiers = """\ +classifiers = '''\ Development Status :: 4 - Beta Environment :: Console Intended Audience :: Developers @@ -25,15 +25,15 @@ Topic :: Software Development :: Compilers Topic :: Text Processing :: Markup :: HTML Topic :: Utilities -""" -long_description = """\ +''' +long_description = '''\ Pack and compress client-side source code. Features: * CSS, JS -- minification and merging files * HTML -- minification with proper handling of script and style tags * PHP -- same as HTML, but PHP code is left untouched -""" +''' if sys.version < '2.2.3': @@ -42,19 +42,19 @@ DistributionMetadata.download_url = None setup( - name="wecomp", + name='wecomp', version=wecomp.__version__, - maintainer="Pawel Olejniczak", - maintainer_email="pawel.olejniczak@gmail.com", - author="Pawel Olejniczak", - author_email="pawel.olejniczak@gmail.com", - url="https://github.com/Eyjafjallajokull/wecomp", - license="MIT", - platforms=["linux"], - package_dir={"": "lib"}, - py_modules=["wecomp"], - scripts=["wecomp"], - description="Pack and compress client-side source code.", - classifiers=filter(None, classifiers.split("\n")), + maintainer='Pawel Olejniczak', + maintainer_email='pawel.olejniczak@gmail.com', + author='Pawel Olejniczak', + author_email='pawel.olejniczak@gmail.com', + url='https://github.com/Eyjafjallajokull/wecomp', + license='GPL', + platforms=['linux'], + package_dir={'': 'lib'}, + py_modules=['wecomp'], + scripts=['wecomp'], + description='Pack and compress client-side source code.', + classifiers=filter(None, classifiers.split('\n')), long_description=long_description, ) diff --git a/wecomp b/wecomp index 1301649..fa43196 100755 --- a/wecomp +++ b/wecomp @@ -2,7 +2,7 @@ import sys from os.path import join, dirname, exists -sourcePath = join(dirname(__file__), "lib", "wecomp.py") +sourcePath = join(dirname(__file__), 'lib', 'wecomp.py') if exists(sourcePath): sys.path.insert(0, dirname(sourcePath)) try: @@ -12,5 +12,5 @@ if exists(sourcePath): else: from wecomp import main -if __name__ == "__main__": +if __name__ == '__main__': main() \ No newline at end of file