ablog/setup.py

48 lines
1.5 KiB
Python
Raw Normal View History

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
with open('README.rst') as inp:
long_description = inp.read()
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-04-27 17:31:10 -07:00
url='http://github.com/abakan/ablog',
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 :: 3 - Alpha',
2014-04-27 17:31:10 -07:00
'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__)],
requires=['Werkzeug', 'Sphinx'],
message_extractors={
'ablog': [
('**.html', 'jinja2', None),
('**.py', 'python', None),
]
},
2014-04-27 17:37:48 -07:00
)