forked from Pardus-Linux/buildfarm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·38 lines (32 loc) · 1.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2011 TUBITAK/UEKAE
#
# 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 2 of the License, or (at your
# option) any later version. Please read the COPYING file.
import os
import sys
import glob
import shutil
from distutils.core import setup
import buildfarm
# tools to install under /usr/bin
TOOLS = glob.glob("tools/*")
HOOKS = glob.glob("hooks/*")
# Call distutils.setup
setup(name="buildfarm",
version=buildfarm.__version__,
description="Pardus Buildfarm",
long_description="A buildfarm framework which builds source packages for Pardus",
author="Ozan Çağlayan",
author_email="[email protected]",
url="http://svn.pardus.org.tr/uludag/trunk/buildfarm",
license="GPLv2",
platforms=["Linux"],
packages=["buildfarm"],
scripts=TOOLS,
data_files=[("/etc/buildfarm", ["data/buildfarm.conf", "data/auth.conf"]),
("/etc/buildfarm/hooks.d", HOOKS)])