Files
sigal/setup.py

55 lines
1.6 KiB
Python
Raw Normal View History

2011-05-13 17:39:18 +02:00
# -*- coding:utf-8 -*-
import os
2013-08-02 08:31:28 +02:00
from setuptools import setup
2011-05-13 17:39:18 +02:00
2013-11-09 00:31:36 +01:00
requires = ['argh', 'clint', 'jinja2', 'Markdown', 'Pillow', 'pilkit']
2012-05-13 23:28:19 +02:00
entry_points = {
2012-11-09 12:21:18 +01:00
'console_scripts': ['sigal = sigal:main']
}
2012-05-13 23:28:19 +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=['sigal'],
2012-11-09 12:21:18 +01:00
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=requires,
test_requires=['pytest'],
2012-11-09 12:21:18 +01:00
entry_points=entry_points,
classifiers=[
'Development Status :: 4 - Beta',
'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',
2012-11-09 12:21:18 +01:00
'Topic :: Internet :: WWW/HTTP',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)