mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Making setup.py pep8-compliant
To test the water with the pelican developers.
This commit is contained in:
parent
959f96ff53
commit
ff02161e7e
1 changed files with 21 additions and 20 deletions
41
setup.py
41
setup.py
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
from os import walk
|
||||
from os.path import join, relpath, dirname
|
||||
|
||||
from os.path import join, relpath
|
||||
from setuptools import setup
|
||||
|
||||
requires = ['feedgenerator >= 1.6', 'jinja2 >= 2.7', 'pygments', 'docutils',
|
||||
|
|
@ -31,33 +30,35 @@ setup(
|
|||
long_description=README + '\n' + CHANGELOG,
|
||||
packages=['pelican', 'pelican.tools'],
|
||||
package_data={
|
||||
# we manually collect the package data, as opposed to using include_package_data=True
|
||||
# because we don't want the tests to be included automatically as package data
|
||||
# (MANIFEST.in is too greedy)
|
||||
# We manually collect the package data, as opposed to using
|
||||
# include_package_data=True because we don't want the tests to be
|
||||
# included automatically as package data (MANIFEST.in is too greedy).
|
||||
'pelican': [
|
||||
relpath(join(root, name), 'pelican')
|
||||
for root, _, names in walk(join('pelican', 'themes')) for name in names
|
||||
],
|
||||
for root, _, names in walk(join('pelican', 'themes')) for name in
|
||||
names
|
||||
],
|
||||
'pelican.tools': [
|
||||
relpath(join(root, name), join('pelican', 'tools'))
|
||||
for root, _, names in walk(join('pelican', 'tools', 'templates')) for name in names
|
||||
],
|
||||
for root, _, names in walk(join('pelican', 'tools', 'templates'))
|
||||
for name in names
|
||||
],
|
||||
},
|
||||
install_requires=requires,
|
||||
entry_points=entry_points,
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Console',
|
||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Topic :: Internet :: WWW/HTTP',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
'Environment :: Console',
|
||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Topic :: Internet :: WWW/HTTP',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
test_suite='pelican.tests',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue