Added setup tools

This commit is contained in:
Lars Kiesow 2013-05-04 22:34:41 +02:00
parent 574869c0a3
commit c6c40946a8
3 changed files with 52 additions and 0 deletions

2
MANIFEST.in Normal file
View file

@ -0,0 +1,2 @@
include license.bsd license.lgpl readme.md
recursive-include docs *.html *.css *.png *.gif *.js

View file

@ -1,7 +1,13 @@
sdist: doc
python setup.py sdist
clean: doc-clean clean: doc-clean
@echo Removing binary files... @echo Removing binary files...
@rm -f `find feedgenerator -name '*.pyc'` @rm -f `find feedgenerator -name '*.pyc'`
@rm -f `find feedgenerator -name '*.pyo'` @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 doc: doc-clean doc-html doc-man doc-latexpdf

44
setup.py Normal file
View file

@ -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.
'''
)