mirror of https://github.com/saimn/sigal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.4 KiB
53 lines
1.4 KiB
# -*- coding:utf-8 -*- |
|
|
|
import os |
|
from setuptools import setup, find_packages |
|
|
|
requires = ['argh', 'clint', 'jinja2', 'Markdown'] |
|
|
|
try: |
|
from PIL import Image, ImageOps # NOQA |
|
except ImportError: |
|
requires += ['Pillow'] |
|
|
|
entry_points = { |
|
'console_scripts': ['sigal = sigal:main'] |
|
} |
|
|
|
with open('README.rst') as f: |
|
README = f.read() |
|
|
|
# Load package meta from the pkgmeta module without loading the package. |
|
pkgmeta = {} |
|
execfile(os.path.join(os.path.dirname(__file__), 'sigal', 'pkgmeta.py'), |
|
pkgmeta) |
|
|
|
setup( |
|
name='sigal', |
|
version=pkgmeta['__version__'], |
|
url=pkgmeta['__url__'], |
|
license='MIT', |
|
author=pkgmeta['__author__'], |
|
author_email='contact@saimon.org', |
|
description='Simple static gallery generator', |
|
long_description=README, |
|
packages=find_packages(), |
|
zip_safe=False, |
|
include_package_data=True, |
|
platforms='any', |
|
install_requires=requires, |
|
test_requires=['nose'], |
|
test_suite='nose.collector', |
|
entry_points=entry_points, |
|
classifiers=[ |
|
'Development Status :: 4 - Beta', |
|
'Environment :: Console', |
|
'License :: OSI Approved :: MIT License', |
|
'Operating System :: OS Independent', |
|
'Programming Language :: Python :: 2.6', |
|
'Programming Language :: Python :: 2.7', |
|
'Topic :: Internet :: WWW/HTTP', |
|
'Topic :: Multimedia :: Graphics :: Viewers', |
|
'Topic :: Software Development :: Libraries :: Python Modules', |
|
], |
|
)
|
|
|