smart-live-rebuild /

#	vim:fileencoding=utf-8
# (c) 2011 Michał Górny <>
# Released under the terms of the 2-clause BSD license.

from distutils.core import setup, Command

import os.path, sys

sys.path.insert(0, os.path.dirname(__file__))
	from smartliverebuild import PV
except ImportError:
	PV = 'unknown'

class TestCommand(Command):
	user_options = []

	def initialize_options(self):

	def finalize_options(self):

	def run(self):
		import unittest, doctest

		tests = unittest.TestSuite()

		r = unittest.TextTestRunner()
		res =
		sys.exit(0 if res.wasSuccessful() else 1)

		name = 'smart-live-rebuild',
		version = PV,
		author = 'Michał Górny',
		author_email = '',
		url = '',

		packages = ['smartliverebuild', 'smartliverebuild.vcs'],
		scripts = ['smart-live-rebuild'],

		classifiers = [
			'Development Status :: 5 - Production/Stable',
			'Environment :: Console',
			'Environment :: Plugins',
			'Intended Audience :: System Administrators',
			'License :: OSI Approved :: BSD License',
			'Operating System :: POSIX',
			'Programming Language :: Python',
			'Topic :: System :: Installation/Setup'

		cmdclass = {
			'test': TestCommand
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.