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
|
#!/usr/bin/python
from distutils.core import setup
import re
verpat = re.compile("VERSION *= *\"(.*)\"")
data = open("bm").read()
m = verpat.search(data)
if not m:
sys.exit("error: can't find VERSION")
VERSION = m.group(1)
setup(name="bm",
version = VERSION,
description = "BuildManager - rpm package building helper",
author = "Gustavo Niemeyer, Papoteur",
author_email = "niemeyer@conectiva.com, papoteur@mageialinux-online.org",
url = "http://gitweb.mageia.org/software/build-system/bm/",
license = "GPLv2",
long_description =
"""\
BuildManager, or bm, is a program that wraps and extends rpm while building
packages. Its features allow one to batch process thousand of RPMS at once,
controling logs, rpm and srpm moving, filtering the list of files, ignoring
given packages, completely cleaning the build directories, and many other
features.
""",
packages = ["BuildManager"],
scripts = ["bm", "bmclean"],
)
|