Skip to content

Commit

Permalink
Removed support for docs, icons and app shortcut as it causes issues …
Browse files Browse the repository at this point in the history
…with easy_install. Would be reintroduced later once issues are fixed
  • Loading branch information
anaynayak committed Mar 30, 2010
1 parent 8c37797 commit f160cdf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

33 changes: 1 addition & 32 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,39 +1,9 @@
#!/usr/bin/env python

from setuptools import setup
import sys, os

packages_path = os.path.abspath(os.path.dirname(__file__))

datafiles = []
icon_files = []
doc_files = []

prefix = sys.prefix + '/'
ipath_desktop_file = '%sshare/applications/' % prefix
ipath_icons = '%sshare/pixmaps/' % prefix
path_images = packages_path + '/icons/'
ipath_docs = '%sshare/doc/buildnotify/' % prefix

def append_if_valid(target, tuple):
if os.path.exists(tuple[0]):
target.append(tuple)

append_if_valid(datafiles, (ipath_desktop_file,[packages_path + '/buildnotify.desktop']))

docs = ['AUTHORS','INSTALL','LICENSE','README','THANKS']
for doc in docs:
doc_files.append(packages_path + '/' + doc)

icons = ['buildnotify.png']
for icon in icons:
icon_files.append(path_images + icon)

append_if_valid(datafiles, (ipath_icons, icon_files))
append_if_valid(datafiles, (ipath_docs, doc_files))

setup (name='BuildNotify',
version='0.2.4',
version='0.2.5',
description='Cruise Control build monitor for Windows/Linux/Mac',
keywords='cctray ccmenu buildnotify ubuntu linux cruisecontrol continuous integration ci',
author='Anay Nayak',
Expand All @@ -45,6 +15,5 @@ def append_if_valid(target, tuple):
'It was largely inspired from CCMenu and lets you monitor multiple continuous integration servers with' +
'customizable build notifications for all projects',
packages=['buildnotifylib'],
data_files = datafiles,
scripts = ['buildnotifyapplet.py'])

0 comments on commit f160cdf

Please sign in to comment.