diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-01-04 16:15:53 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-01-04 16:15:53 +0000 |
commit | 88a840788e82289d417983acf4b49f2c2778296d (patch) | |
tree | 2a73dbdb181d05fc5417dbc75baf6fa0a4c73ccb /setup.py | |
download | mgarepo-88a840788e82289d417983acf4b49f2c2778296d.tar mgarepo-88a840788e82289d417983acf4b49f2c2778296d.tar.gz mgarepo-88a840788e82289d417983acf4b49f2c2778296d.tar.bz2 mgarepo-88a840788e82289d417983acf4b49f2c2778296d.tar.xz mgarepo-88a840788e82289d417983acf4b49f2c2778296d.zip |
fix problem with python threads on 2010.1
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..e11789d --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +#!/usr/bin/python +from distutils.core import setup +import sys +import re + +verpat = re.compile("VERSION *= *\"(.*)\"") +data = open("repsys").read() +m = verpat.search(data) +if not m: + sys.exit("error: can't find VERSION") +VERSION = m.group(1) + +setup(name="repsys", + version = VERSION, + description = "Tools for Mandriva Linux repository access and management", + author = "Gustavo Niemeyer", + author_email = "gustavo@niemeyer.net", + url = "http://qa.mandriva.com/twiki/bin/view/Main/RepositorySystem", + license = "GPL", + long_description = """Tools for Mandriva Linux repository access and management.""", + packages = ["RepSys", "RepSys.cgi", "RepSys.commands", + "RepSys.plugins"], + scripts = ["repsys", "repsys-ssh"], + data_files = [ + ("/usr/share/repsys/", + ["default.chlog", + "revno.chlog", + "create-srpm"]), + ("/etc/", ["repsys.conf"]), + ("share/man/man8/", ["repsys.8"])] + ) + +# vim:ts=4:sw=4:et |