1
0
Fork 0
forked from github/pelican
pelican-theme/setup.py

64 lines
2.5 KiB
Python
Raw Normal View History

2011-05-06 16:29:15 +06:00
#!/usr/bin/env python
from os import walk
from os.path import join, relpath
from setuptools import setup
2010-12-19 01:30:08 +00:00
requires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments', 'docutils',
'pytz >= 0a', 'blinker', 'unidecode', 'six >= 1.4',
'python-dateutil']
entry_points = {
'console_scripts': [
'pelican = pelican:main',
'pelican-import = pelican.tools.pelican_import:main',
'pelican-quickstart = pelican.tools.pelican_quickstart:main',
'pelican-themes = pelican.tools.pelican_themes:main'
2013-05-14 23:41:18 -07:00
]
}
2012-12-04 01:53:52 +01:00
README = open('README.rst').read()
CHANGELOG = open('docs/changelog.rst').read()
setup(
2016-12-12 14:00:11 -08:00
name='pelican',
version='3.7.1.dev0',
2012-08-13 20:55:26 +02:00
url='http://getpelican.com/',
author='Alexis Metaireau',
2016-12-12 14:00:11 -08:00
maintainer='Justin Mayer',
2012-12-04 01:21:57 +01:00
author_email='authors@getpelican.com',
2016-12-12 14:00:11 -08:00
description="Static site generator supporting reStructuredText and "
"Markdown source content.",
2012-12-04 01:53:52 +01:00
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)
'pelican': [relpath(join(root, name), 'pelican')
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],
},
2012-08-13 20:55:26 +02:00
install_requires=requires,
entry_points=entry_points,
classifiers=[
'Development Status :: 5 - Production/Stable',
2012-08-13 20:55:26 +02:00
'Environment :: Console',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
2012-08-13 20:55:26 +02:00
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
2015-10-19 19:26:31 +02:00
'Programming Language :: Python :: 3.5',
2012-08-13 20:55:26 +02:00
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
2013-03-06 00:41:27 -08:00
test_suite='pelican.tests',
)