From: W. Trevor King Date: Thu, 18 Oct 2012 14:57:31 +0000 (-0400) Subject: Package with distutils. X-Git-Tag: v3.0~72^2~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7cb6450f37b8209128789f3328924286cccd9f4f;p=rss2email.git Package with distutils. --- diff --git a/.gitignore b/.gitignore index bee8a64..3e96b17 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ __pycache__ +dist +MANIFEST diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e0ad498 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include CHANGELOG +include r2e.1 +include r2e.bat +recursive-include test README *.atom *.rss *.config *.expected diff --git a/rss2email.py b/rss2email.py index e583e88..ed00baa 100755 --- a/rss2email.py +++ b/rss2email.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # -*- encoding: utf-8 -*- """rss2email: get RSS feeds emailed to you diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..92aefe4 --- /dev/null +++ b/setup.py @@ -0,0 +1,41 @@ +"A python script that converts RSS/Atom newsfeeds to email" + +import codecs as _codecs +from distutils.core import setup +import os.path as _os_path + +from rss2email import __version__ + + +_this_dir = _os_path.dirname(__file__) + +setup( + name='rss2email', + version=__version__, + maintainer='Lindsey Smith', + maintainer_email='lindsey@allthingsrss.com', + url='http://rss2email.infogami.com', + download_url='http://git.tremily.us/?p=rss2email.git;a=snapshot;h=v{};sf=tgz'.format( __version__), + license='GNU General Public License (GPL)', + platforms=['all'], + description=__doc__, + long_description=_codecs.open( + _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(), + classifiers=[ + 'Development Status :: 2 - Pre-Alpha', + 'Environment :: Console', + 'Intended Audience :: End Users/Desktop', + 'Operating System :: OS Independent', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Topic :: Communications :: Email', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + py_modules=['rss2email'], + scripts=['r2e'], + provides=['rss2email'], + )