source: soft/build_system/build_system/repsys/branches/V1_6_X/setup.py @ 1

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

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

File size: 1.1 KB
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          "RepSys.plugins"],
23      scripts = ["repsys", "getsrpm-mdk"],
24      data_files = [
25              ("/usr/share/repsys/", 
26              ["default.chlog", 
27              "revno.chlog",
28              "oldfashion.chlog",
29              "compatv15.chlog",
30              "create-srpm",
31              "rebrand-mdk"]),
32              ("/etc/", ["repsys.conf"])]
33      )
34
35# vim:ts=4:sw=4:et
Note: See TracBrowser for help on using the repository browser.