diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..f27e442 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include license.bsd license.lgpl readme.md +recursive-include docs *.html *.css *.png *.gif *.js diff --git a/Makefile b/Makefile index 6fda606..18581d6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ +sdist: doc + python setup.py sdist + clean: doc-clean @echo Removing binary files... @rm -f `find feedgenerator -name '*.pyc'` @rm -f `find feedgenerator -name '*.pyo'` + @echo Removing source distribution files... + @rm -rf dist/ + @rm MANIFEST doc: doc-clean doc-html doc-man doc-latexpdf diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..649826e --- /dev/null +++ b/setup.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from distutils.core import setup +setup( + name = 'feedgenerator', + packages = ['feedgenerator'], + version = '0.1', + description = 'Feed Generator (ATOM, RSS, Podcasts)', + author = 'Lars Kiesow', + author_email = 'lkiesow@uos.de', + url = 'https://github.com/lkiesow/pyFeedGenerator', + keywords = ['feed','ATOM','RSS','podcast'], + 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', + 'Topic :: Communications', + 'Topic :: Internet', + 'Topic :: Text Processing', + 'Topic :: Text Processing :: Markup', + 'Topic :: Text Processing :: Markup :: XML' + ], + long_description = '''\ +Feedgenerator +============= + +This module can be used to generate web feeds in both ATOM and RSS format. +The included PodcastGenerator can furthermore generate all of Apples RSS +extension for Podcasts. + +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. +''' +)