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
import sys
from setuptools import setup, find_packages
2011-05-13 17:39:18 +02:00
if sys.version_info[:2] < (3, 5):
sys.exit('Sigal supports Python 3.5+ only')
with open('README.rst') as f:
README = 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',
long_description=README,
packages=find_packages(exclude=['tests*']),
2012-11-09 12:21:18 +01:00
zip_safe=False,
include_package_data=True,
platforms='any',
python_requires='>=3.5',
2016-01-30 23:49:51 +01:00
keywords=['gallery', 'static', 'generator', 'image', 'video', 'galleria'],
install_requires=['blinker', 'click', 'Jinja2', 'Markdown',
'Pillow>=4.0.0', 'pilkit'],
test_requires=['pytest'],
2014-11-09 00:03:41 +01:00
extras_require={
'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 :: 3',
2016-04-24 23:05:23 +02:00
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
2012-11-09 12:21:18 +01:00
'Topic :: Internet :: WWW/HTTP',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)