source: soft/build_system/build_system/repsys/tags/V1_6_2/setup.py @ 1

Last change on this file since 1 was 1, checked in by fasma, 13 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 983 bytes
Line 
1#!/usr/bin/python
2from distutils.core import setup
3import sys
4import re
5
6verpat = re.compile("VERSION *= *\"(.*)\"")
7data = open("repsys").read()
8m = verpat.search(data)
9if not m:
10    sys.exit("error: can't find VERSION")
11VERSION = m.group(1)
12
13setup(name="repsys",
14      version = VERSION,
15      description = "Tools for Mandriva Linux repository access and management",
16      author = "Gustavo Niemeyer",
17      author_email = "gustavo@niemeyer.net",
18      url = "http://qa.mandriva.com/twiki/bin/view/Main/RepositorySystem",
19      license = "GPL",
20      long_description = """Tools for Mandriva Linux repository access and management.""",
21      packages = ["RepSys", "RepSys.cgi", "RepSys.commands"],
22      scripts = ["repsys", "getsrpm-mdk"],
23      data_files = [
24              ("/usr/share/repsys/", 
25              ["default.chlog", 
26              "revno.chlog", 
27              "create-srpm",
28              "rebrand-mdk"]),
29              ("/etc/", ["repsys.conf"])]
30      )
31
32# vim:ts=4:sw=4:et
Note: See TracBrowser for help on using the repository browser.