]> kaliko git repositories - python-musicpd.git/commitdiff
adding setup.py, setup.cfg, and MANIFEST.in
authorJ. Alexander Treuman <jat@spatialrift.net>
Wed, 27 Feb 2008 23:56:53 +0000 (18:56 -0500)
committerJ. Alexander Treuman <jat@spatialrift.net>
Wed, 27 Feb 2008 23:56:53 +0000 (18:56 -0500)
MANIFEST.in [new file with mode: 0644]
setup.cfg [new file with mode: 0644]
setup.py [new file with mode: 0644]

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644 (file)
index 0000000..d33c584
--- /dev/null
@@ -0,0 +1,2 @@
+include *.txt
+recursive-include doc *.txt
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
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 (file)
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 <jat@spatialrift.net>
+
+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 <http://www.gnu.org/licenses/>.\
+"""
+
+
+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: