From 0a2bc970f75e7963af0da849e2467ede64c79b91 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Wed, 27 Feb 2008 18:56:53 -0500 Subject: [PATCH] adding setup.py, setup.cfg, and MANIFEST.in --- MANIFEST.in | 2 ++ setup.cfg | 2 ++ setup.py | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..d33c584 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include *.txt +recursive-include doc *.txt diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..75d2fcb --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[sdist] +formats=bztar,gztar,zip diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..672fcc4 --- /dev/null +++ b/setup.py @@ -0,0 +1,55 @@ +#! /usr/bin/env python + +from distutils.core import setup + + +DESCRIPTION = """\ +An MPD (Music Player Daemon) client library written in pure Python.\ +""" + +CLASSIFIERS = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU General Public License (GPL)", + "Natural Language :: English", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Topic :: Software Development :: Libraries :: Python Modules", +] + +LICENSE = """\ +Copyright (C) 2008 J. Alexander Treuman + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see .\ +""" + + +setup( + name="python-mpd", + version="0.1.0", + description="Python MPD client library", + long_description=DESCRIPTION, + author="J. Alexander Treuman", + author_email="jat@spatialrift.net", + url="http://www.musicpd.org/~jat/python-mpd/", + download_url="http://pypi.python.org/pypi/python-mpd/", + py_modules=["mpd"], + classifiers=CLASSIFIERS, + license=LICENSE, + keywords=["mpd"], + platforms=["Independant"], +) + + +# vim: set expandtab shiftwidth=4 softtabstop=4 textwidth=79: -- 2.39.5