mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
PEP8-ify
This commit is contained in:
parent
cadcfa43c3
commit
10f75524fc
1 changed files with 24 additions and 21 deletions
45
setup.py
45
setup.py
|
|
@ -1,10 +1,11 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
requires = ['feedgenerator', 'jinja2 >= 2.4', 'pygments', 'docutils', 'pytz', 'blinker', 'unidecode']
|
requires = ['feedgenerator', 'jinja2 >= 2.4', 'pygments', 'docutils', 'pytz',
|
||||||
|
'blinker', 'unidecode']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import argparse
|
import argparse # NOQA
|
||||||
except ImportError:
|
except ImportError:
|
||||||
requires.append('argparse')
|
requires.append('argparse')
|
||||||
|
|
||||||
|
|
@ -18,24 +19,26 @@ entry_points = {
|
||||||
}
|
}
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = "pelican",
|
name="pelican",
|
||||||
version = "3.1",
|
version="3.1",
|
||||||
url = 'http://getpelican.com/',
|
url='http://getpelican.com/',
|
||||||
author = 'Alexis Metaireau',
|
author='Alexis Metaireau',
|
||||||
author_email = 'alexis@notmyidea.org',
|
author_email='alexis@notmyidea.org',
|
||||||
description = "A tool to generate a static blog from reStructuredText or Markdown input files.",
|
description="A tool to generate a static blog from reStructuredText or "\
|
||||||
|
"Markdown input files.",
|
||||||
long_description=open('README.rst').read(),
|
long_description=open('README.rst').read(),
|
||||||
packages = ['pelican', 'pelican.tools', 'pelican.plugins'],
|
packages=['pelican', 'pelican.tools', 'pelican.plugins'],
|
||||||
include_package_data = True,
|
include_package_data=True,
|
||||||
install_requires = requires,
|
install_requires=requires,
|
||||||
entry_points = entry_points,
|
entry_points=entry_points,
|
||||||
classifiers = ['Development Status :: 5 - Production/Stable',
|
classifiers=[
|
||||||
'Environment :: Console',
|
'Development Status :: 5 - Production/Stable',
|
||||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
'Environment :: Console',
|
||||||
'Operating System :: OS Independent',
|
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||||
'Programming Language :: Python :: 2.6',
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.6',
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Internet :: WWW/HTTP',
|
||||||
],
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue