Mercurial > piecrust2
changeset 884:18b3e2acd069
pep8: Fix indenting.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 20 Jun 2017 21:10:39 -0700 |
parents | 803c5c28a71f |
children | 13e8b50a2113 |
files | setup.py |
diffstat | 1 files changed, 46 insertions(+), 46 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Sat Jun 17 15:14:38 2017 -0700 +++ b/setup.py Tue Jun 20 21:10:39 2017 -0700 @@ -42,7 +42,7 @@ class GenerateVersionCommand(Command): description = 'generates a version file' user_options = [ - ('force=', 'f', 'force a specific version number')] + ('force=', 'f', 'force a specific version number')] def initialize_options(self): self.force = None @@ -146,8 +146,8 @@ version = APP_VERSION except ImportError: print( - "WARNING: Can't get version from version file. " - "Will use version `0.0`.") + "WARNING: Can't get version from version file. " + "Will use version `0.0`.") version = '0.0' @@ -156,47 +156,47 @@ setup( - name="PieCrust", - version=version, - description="A powerful static website generator and lightweight CMS.", - long_description=read('README.rst') + '\n\n' + read('CHANGELOG.rst'), - author="Ludovic Chabant", - author_email="ludovic@chabant.com", - license="Apache License 2.0", - url="http://bolt80.com/piecrust", - keywords=' '.join([ - 'python', - 'website', - 'generator', - 'blog', - 'portfolio', - 'gallery', - 'cms' - ]), - packages=find_packages(exclude=['garcon', 'tests']), - include_package_data=True, - zip_safe=False, - install_requires=install_requires, - tests_require=tests_require, - cmdclass={ - 'test': PyTest, - 'version': GenerateVersionCommand - }, - classifiers=[ - 'Development Status :: 4 - Beta', - 'License :: OSI Approved :: Apache Software License', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Natural Language :: English', - 'Operating System :: MacOS :: MacOS X', - 'Operating System :: POSIX :: Linux', - 'Operating System :: Microsoft :: Windows', - 'Programming Language :: Python :: 3 :: Only', - 'Topic :: Internet :: WWW/HTTP :: Site Management' - ], - entry_points={'console_scripts': [ - 'chef = piecrust.main:main' - ]} - ) + name="PieCrust", + version=version, + description="A powerful static website generator and lightweight CMS.", + long_description=read('README.rst') + '\n\n' + read('CHANGELOG.rst'), + author="Ludovic Chabant", + author_email="ludovic@chabant.com", + license="Apache License 2.0", + url="http://bolt80.com/piecrust", + keywords=' '.join([ + 'python', + 'website', + 'generator', + 'blog', + 'portfolio', + 'gallery', + 'cms' + ]), + packages=find_packages(exclude=['garcon', 'tests']), + include_package_data=True, + zip_safe=False, + install_requires=install_requires, + tests_require=tests_require, + cmdclass={ + 'test': PyTest, + 'version': GenerateVersionCommand + }, + classifiers=[ + 'Development Status :: 4 - Beta', + 'License :: OSI Approved :: Apache Software License', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Natural Language :: English', + 'Operating System :: MacOS :: MacOS X', + 'Operating System :: POSIX :: Linux', + 'Operating System :: Microsoft :: Windows', + 'Programming Language :: Python :: 3 :: Only', + 'Topic :: Internet :: WWW/HTTP :: Site Management' + ], + entry_points={'console_scripts': [ + 'chef = piecrust.main:main' + ]} +)