From 176b14e052f3b30fe34ece2c2d865157caac9277 Mon Sep 17 00:00:00 2001 From: "adrian.sampson" Date: Tue, 10 Feb 2009 00:50:21 +0000 Subject: [PATCH] created setup.py and trimmings --HG-- rename : bts.py => bts rename : test/alltests.py => test/testall.py extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%40130 --- MANIFEST.in | 4 ++++ beets/mediafile.py | 1 - bts.py => bts | 0 setup.py | 29 +++++++++++++++++++++++++++++ test/{alltests.py => testall.py} | 0 5 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in rename bts.py => bts (100%) create mode 100755 setup.py rename test/{alltests.py => testall.py} (100%) diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 000000000..1632f8036 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +# Exclude tests from the source distribution. They require resources +# that make the distribution heavier than it needs to be. +prune test + diff --git a/beets/mediafile.py b/beets/mediafile.py index 96562321f..76d46ed05 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -14,7 +14,6 @@ tag is present. If no value is available, the value will be false (e.g., zero or the empty string).""" import mutagen -import os.path import datetime import re diff --git a/bts.py b/bts similarity index 100% rename from bts.py rename to bts diff --git a/setup.py b/setup.py new file mode 100755 index 000000000..4d58d63e8 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python +from distutils.core import setup + +setup(name='beets', + version='0.1', + description='music library manager', + author='Adrian Sampson', + author_email='adrian@radbox.org', + url='http://code.google.com/p/beets/', + license='GPL', + platforms='ALL', + long_description="""Beets is a system for managing your music + collection. + + It catalogs a collection in a sqlite database. This allows batch + correction of file tags and reorganization into a custom + directory structure. + + It also includes a music player that reimplements the + `MPD `_ protocol in order to play music from + the database. + """, + + packages=['beets'], + scripts=['bts'], + + requires=['sqlite3', 'mutagen', 'eventlet (>=0.8)'], + ) + diff --git a/test/alltests.py b/test/testall.py similarity index 100% rename from test/alltests.py rename to test/testall.py