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
30
31
32
33
34
|
#!/usr/bin/python3
from setuptools import setup
import sys
import re
verpat = re.compile("VERSION *= *\"(.*)\"")
data = open("mgarepo").read()
m = verpat.search(data)
if not m:
sys.exit("error: can't find VERSION")
VERSION = m.group(1)
setup(name="mgarepo",
version = VERSION,
description = "Tools for Mageia repository access and management",
author = "Gustavo Niemeyer",
author_email = "gustavo@niemeyer.net",
url = "https://wiki.mageia.org/en/Mgarepo",
license = "GPL",
long_description = """Tools for Mageia repository access and management, based on repsys.""",
packages = ["MgaRepo", "MgaRepo.cgi", "MgaRepo.commands",
"MgaRepo.plugins"],
scripts = ["mgarepo", "mgarepo-ssh"],
data_files = [
("/usr/share/mgarepo/",
["create-srpm"]),
("share/bash-completion/completions",
["bash-completion/mgarepo"]),
("/etc/", ["mgarepo.conf"]),
("share/man/man8/", ["mgarepo.8"])],
install_requires=['PyGithub>=1.27.1', 'httplib2', 'rpm-python']
)
# vim:ts=4:sw=4:et
|