summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-05-07 21:51:40 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-05-07 21:51:40 +0000
commit11e2e30360a24bcc22ca4231fca495e5d846abb5 (patch)
tree9bf91715b22e91a7b739c72a08f6a3f4395c1c25 /setup.py
downloadbm-11e2e30360a24bcc22ca4231fca495e5d846abb5.tar
bm-11e2e30360a24bcc22ca4231fca495e5d846abb5.tar.gz
bm-11e2e30360a24bcc22ca4231fca495e5d846abb5.tar.bz2
bm-11e2e30360a24bcc22ca4231fca495e5d846abb5.tar.xz
bm-11e2e30360a24bcc22ca4231fca495e5d846abb5.zip
Imported bm-2.1 from2.1
svn+ssh://svn.mandriva.com/svn/packages/cooker/bm/current/SOURCES/bm-2.1.tar.bz2 at r24959.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..9882c14
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,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",
+ author_email = "niemeyer@conectiva.com",
+ url = "http://moin.conectiva.com.br/BuildManager",
+ license = "GPL",
+ 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"],
+ )