12
15
# You should have received a copy of the GNU General Public License
13
16
# along with this program; if not, write to the Free Software
14
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
19
"""Loggerhead is a web viewer for projects in bazaar"""
17
from distutils.core import setup, Command
18
from distutils.command.install_data import install_data
19
from distutils.dep_util import newer
20
from distutils.log import info
26
if sys.version_info < (2, 4):
27
sys.stderr.write("[ERROR] Not a supported Python version. Need 2.4+\n")
30
class InstallData(install_data):
32
install_data.run(self)
21
from distutils.core import setup
35
27
name = "loggerhead",
28
version = loggerhead.__version__,
37
29
description = "Loggerhead is a web viewer for projects in bazaar",
38
30
license = "GNU GPL v2 or later",
39
31
maintainer = "Michael Hudson",
40
32
maintainer_email = "michael.hudson@canonical.com",
41
33
scripts = ["start-loggerhead", "stop-loggerhead", "serve-branches"],
42
34
packages = ["loggerhead",
44
package_data = {"loggerhead":["templates/*"]},
46
('share/man/man1',['start-loggerhead.1', 'stop-loggerhead.1']),
47
('share/doc/loggerhead', ['loggerhead.conf.example'])
49
cmdclass={'install_data':InstallData}
36
"loggerhead/controllers",
37
"loggerhead/templates",
38
"bzrlib.plugins.loggerhead"],
39
package_dir={'bzrlib.plugins.loggerhead':'.'},
40
package_data = {"loggerhead": ["templates/*.pt",
42
"static/javascript/*.js",
43
"static/javascript/yui/build/anim/*",
44
"static/javascript/yui/build/base/*",
45
"static/javascript/yui/build/cssbase/*",
46
"static/javascript/yui/build/cssgrids/*",
47
"static/javascript/yui/build/dd/*",
48
"static/javascript/yui/build/dump/*",
49
"static/javascript/yui/build/get/*",
50
"static/javascript/yui/build/json/*",
51
"static/javascript/yui/build/node/*",
52
"static/javascript/yui/build/queue/*",
53
"static/javascript/yui/build/yui/*",
54
"static/javascript/yui/build/attribute/*",
55
"static/javascript/yui/build/cookie/*",
56
"static/javascript/yui/build/cssfonts/*",
57
"static/javascript/yui/build/cssreset/*",
58
"static/javascript/yui/build/dom/*",
59
"static/javascript/yui/build/event/*",
60
"static/javascript/yui/build/io/*",
61
"static/javascript/yui/build/loader/*",
62
"static/javascript/yui/build/oop/*",
63
"static/javascript/yui/build/substitute/*",
64
"static/javascript/yui/build/yui-base/*",
67
('share/man/man1', ['start-loggerhead.1',
70
('share/doc/loggerhead', ['loggerhead.conf.example']),