python-feedgen/setup.py

63 lines
1.9 KiB
Python
Raw Normal View History

2013-05-04 22:34:41 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
2016-06-02 04:33:23 +02:00
import sys
MAGIC_BUILD_FLAG = '--include-test-subpackage'
if MAGIC_BUILD_FLAG in sys.argv:
sys.argv.remove(MAGIC_BUILD_FLAG)
with_tests = True
else:
with_tests = False
2016-06-02 04:20:28 +02:00
import setuptools
2013-05-04 22:34:41 +02:00
from distutils.core import setup
2013-05-16 19:30:29 +02:00
import feedgen.version
2016-06-02 04:33:23 +02:00
packages = ['feedgen', 'feedgen/ext']
if with_tests:
packages.append('feedgen/tests')
2013-05-04 22:34:41 +02:00
setup(
2013-05-04 22:54:43 +02:00
name = 'feedgen',
2016-06-02 04:33:23 +02:00
packages = packages,
2013-05-16 19:30:29 +02:00
version = feedgen.version.version_full_str,
2013-05-04 22:34:41 +02:00
description = 'Feed Generator (ATOM, RSS, Podcasts)',
author = 'Lars Kiesow',
author_email = 'lkiesow@uos.de',
2013-05-14 18:20:37 +02:00
url = 'http://lkiesow.github.io/python-feedgen',
2013-05-04 22:34:41 +02:00
keywords = ['feed','ATOM','RSS','podcast'],
2013-05-04 22:39:05 +02:00
license = 'FreeBSD and LGPLv3+',
2016-06-02 03:50:48 +02:00
install_requires = ['lxml', 'python-dateutil'],
2013-05-04 22:34:41 +02:00
classifiers = [
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
2013-05-04 22:34:41 +02:00
'Topic :: Communications',
'Topic :: Internet',
'Topic :: Text Processing',
'Topic :: Text Processing :: Markup',
'Topic :: Text Processing :: Markup :: XML'
],
long_description = '''\
Feedgenerator
=============
2013-05-05 22:38:43 +02:00
This module can be used to generate web feeds in both ATOM and RSS format. It
has support for extensions. Included is for example an extension to produce
Podcasts.
2013-05-04 22:34:41 +02:00
It is licensed under the terms of both, the FreeBSD license and the LGPLv3+.
Choose the one which is more convenient for you. For more details have a look
at license.bsd and license.lgpl.
'''
)