Files
sigal/setup.py

57 lines
1.7 KiB
Python
Raw Normal View History

2011-05-13 17:39:18 +02:00
# -*- coding:utf-8 -*-
import os
from setuptools import setup, find_packages
2011-05-13 17:39:18 +02:00
with open('README.rst') as f:
README = f.read()
2013-08-19 00:45:58 +02:00
with open('docs/changelog.rst') as f:
CHANGELOG = f.read()
# Load package meta from the pkgmeta module without loading the package.
pkgmeta = {}
2013-09-28 23:06:33 +02:00
pkgmeta_file = os.path.join(os.path.dirname(__file__), 'sigal', 'pkgmeta.py')
with open(pkgmeta_file) as f:
code = compile(f.read(), 'pkgmeta.py', 'exec')
exec(code, pkgmeta)
2011-05-13 17:39:18 +02:00
setup(
2012-11-09 12:21:18 +01:00
name='sigal',
version=pkgmeta['__version__'],
url=pkgmeta['__url__'],
2012-11-09 12:21:18 +01:00
license='MIT',
author=pkgmeta['__author__'],
2012-11-09 12:21:18 +01:00
author_email='contact@saimon.org',
description='Simple static gallery generator',
2013-08-19 00:45:58 +02:00
long_description=README + '\n' + CHANGELOG,
packages=find_packages(exclude=['tests*']),
2012-11-09 12:21:18 +01:00
zip_safe=False,
include_package_data=True,
platforms='any',
2014-07-22 23:59:53 +02:00
install_requires=['blinker', 'click', 'jinja2', 'Markdown', 'Pillow',
'pilkit'],
test_requires=['pytest'],
2014-11-09 00:03:41 +01:00
extras_require={
'CSS': ['cssmin'],
'S3': ['boto']
},
entry_points={
'console_scripts': ['sigal = sigal:main']
},
2012-11-09 12:21:18 +01:00
classifiers=[
2014-05-10 23:02:49 +02:00
'Development Status :: 5 - Production/Stable',
2012-11-09 12:21:18 +01:00
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
2013-09-28 23:06:33 +02:00
'Programming Language :: Python :: 2',
2012-11-09 12:21:18 +01:00
'Programming Language :: Python :: 2.7',
2013-09-28 23:06:33 +02:00
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
2014-05-10 23:02:49 +02:00
'Programming Language :: Python :: 3.4',
2012-11-09 12:21:18 +01:00
'Topic :: Internet :: WWW/HTTP',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)