From d92bb4ab22c6a4555c3c0aefe544dd0c550f90b8 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 9 Nov 2012 12:21:18 +0100 Subject: [PATCH] update setup and MANIFEST --- MANIFEST.in | 5 +++++ setup.py | 59 +++++++++++++++++++++++++++-------------------------- 2 files changed, 35 insertions(+), 29 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 6367142..8ffc194 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,7 @@ include README.rst LICENSE +recursive-include docs * +recursive-exclude docs *.pyc +recursive-exclude docs *.pyo +prune docs/_build +prune docs/_themes/.git recursive-include sigal/themes * diff --git a/setup.py b/setup.py index 5598d02..a5248a6 100644 --- a/setup.py +++ b/setup.py @@ -1,39 +1,40 @@ -#!/usr/bin/env python2 # -*- coding:utf-8 -*- -from setuptools import setup +from setuptools import setup, find_packages import sys requires = ['PIL', 'jinja2', 'Markdown', 'clint'] -if sys.version_info < (2,7): +if sys.version_info < (2, 7): requires.append('argparse') entry_points = { - 'console_scripts': - ['sigal = sigal:main'] - } + 'console_scripts': ['sigal = sigal:main'] +} setup( - name = 'sigal', - version = '0.1-dev', - description = 'simple static gallery generator', - long_description = open('README.rst').read(), - url = 'https://github.com/saimn/sigal', - author = 'Simon C.', - author_email = 'contact@saimon.org', - license = 'MIT', - include_package_data = True, - install_requires = requires, - entry_points = entry_points, - packages = ['sigal'], - classifiers = ['Development Status :: 4 - Beta', - 'Environment :: Console', - 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', - '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', - ], - ) + name='sigal', + version='0.1-dev', + url='https://github.com/saimn/sigal', + license='MIT', + author='Simon Conseil', + author_email='contact@saimon.org', + description='Simple static gallery generator', + long_description=open('README.rst').read(), + packages=find_packages(), + zip_safe=False, + include_package_data=True, + platforms='any', + install_requires=requires, + 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', + ], +)