ablog/setup.py

75 lines
2.3 KiB
Python
Raw Normal View History

2015-01-31 15:10:54 -08:00
import sys
from setuptools import setup
2014-04-27 17:31:10 -07:00
__version__ = ''
with open('ablog/__init__.py') as inp:
for line in inp:
if (line.startswith('__version__')):
exec(line.strip())
break
long_description = '''
ABlog for Sphinx
================
2015-06-30 19:06:40 -07:00
A Sphinx extension that converts any documentation or personal website project
into a full-fledged blog. See http://ablog.readthedocs.org for details.
.. image:: https://secure.travis-ci.org/abakan/ablog.png?branch=devel
:target: http://travis-ci.org/#!/abakan/ablog
.. image:: https://pypip.in/v/ABlog/badge.png
:target: https://pypi.python.org/pypi/ABlog
.. image:: https://pypip.in/d/ABlog/badge.png
:target: https://crate.io/packages/ablog
.. image:: https://readthedocs.org/projects/ablog/badge/?version=latest
:target: http://ablog.readthedocs.org/
'''
2014-04-27 17:31:10 -07:00
setup(
2014-04-27 17:37:48 -07:00
name='ablog',
2014-04-27 17:31:10 -07:00
version=__version__,
author='Ahmet Bakan',
author_email='lordnapi@gmail.com',
description='ABlog for blogging with Sphinx',
long_description=long_description,
2014-09-09 21:51:11 -07:00
url='http://ablog.readthedocs.org/',
2014-04-27 17:37:48 -07:00
packages=['ablog'],
package_dir={'ablog': 'ablog'},
package_data={'ablog': [
'templates/*.html',
'locale/sphinx.pot',
'locale/*/LC_MESSAGES/sphinx.*o']},
2014-04-27 17:31:10 -07:00
license='MIT License',
keywords=('Sphinx, extension, blogging, atom feeds'),
2014-04-27 17:31:10 -07:00
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Software Development :: Documentation',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
2014-05-12 19:31:23 -07:00
provides=['ablog ({0:s})'.format(__version__)],
2015-06-30 19:06:40 -07:00
install_requires=['Werkzeug', 'Sphinx', 'alabaster', 'invoke', 'python-dateutil'],
message_extractors={
'ablog': [
('**.html', 'jinja2', None),
('**.py', 'python', None),
]
},
2015-01-31 15:10:54 -08:00
entry_points = {
'console_scripts': [
'ablog = ablog.commands:ablog_main',
'ablog%s = ablog.commands:ablog_main' % sys.version_info[0],
],
'distutils.commands': [
'ablog = ablog.commands:ablog_main',
],
},
2014-04-27 17:37:48 -07:00
)