Skip to content

Commit

Permalink
use single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel committed Mar 10, 2012
1 parent 7c1a26e commit fb3fd67
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions setup.py
Expand Up @@ -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
Expand All @@ -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':
Expand All @@ -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,
)
4 changes: 2 additions & 2 deletions wecomp
Expand Up @@ -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:
Expand All @@ -12,5 +12,5 @@ if exists(sourcePath):
else:
from wecomp import main

if __name__ == "__main__":
if __name__ == '__main__':
main()

0 comments on commit fb3fd67

Please sign in to comment.