2011-05-06 16:29:15 +06:00
|
|
|
#!/usr/bin/env python
|
2010-10-13 22:05:13 +01:00
|
|
|
from setuptools import setup
|
2010-08-19 13:45:03 +02:00
|
|
|
import sys
|
2011-10-23 19:04:34 +02:00
|
|
|
import platform
|
2010-12-19 01:30:08 +00:00
|
|
|
|
2012-02-28 18:59:46 +01:00
|
|
|
VERSION = "2.8.0" # find a better way to do so.
|
2010-08-19 13:45:03 +02:00
|
|
|
|
2011-08-16 15:11:49 +02:00
|
|
|
requires = ['feedgenerator', 'jinja2', 'pygments', 'docutils', 'pytz']
|
2010-08-19 13:45:03 +02:00
|
|
|
if sys.version_info < (2,7):
|
|
|
|
|
requires.append('argparse')
|
2010-08-19 04:23:07 +02:00
|
|
|
|
2011-10-23 19:04:34 +02:00
|
|
|
scripts = ['bin/pelican', 'tools/pelican-themes', 'tools/pelican-import', 'tools/pelican-quickstart']
|
|
|
|
|
|
|
|
|
|
if sys.platform.startswith('win'):
|
|
|
|
|
scripts += [
|
2012-02-28 18:59:46 +01:00
|
|
|
'bin/pelican.bat', 'tools/pelican-themes.bat',
|
2011-10-23 19:04:34 +02:00
|
|
|
'tools/pelican-import.bat', 'tools/pelican-quickstart.bat'
|
|
|
|
|
]
|
|
|
|
|
|
2010-08-19 04:23:07 +02:00
|
|
|
setup(
|
|
|
|
|
name = "pelican",
|
2010-12-18 20:36:16 +00:00
|
|
|
version = VERSION,
|
2010-10-31 00:08:16 +01:00
|
|
|
url = 'http://alexis.notmyidea.org/pelican/',
|
2010-08-19 04:23:07 +02:00
|
|
|
author = 'Alexis Metaireau',
|
|
|
|
|
author_email = 'alexis@notmyidea.org',
|
2010-10-31 00:08:16 +01:00
|
|
|
description = "A tool to generate a static blog, with restructured text (or markdown) input files.",
|
2010-08-19 13:46:53 +02:00
|
|
|
long_description=open('README.rst').read(),
|
2010-08-19 04:23:07 +02:00
|
|
|
packages = ['pelican'],
|
2010-10-30 16:47:59 +01:00
|
|
|
include_package_data = True,
|
2011-05-06 16:29:15 +06:00
|
|
|
install_requires = requires,
|
2011-10-23 19:04:34 +02:00
|
|
|
scripts = scripts,
|
2010-08-19 04:23:07 +02:00
|
|
|
classifiers = ['Development Status :: 5 - Production/Stable',
|
|
|
|
|
'Environment :: Console',
|
|
|
|
|
'License :: OSI Approved :: GNU Affero General Public License v3',
|
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
|
],
|
|
|
|
|
)
|