diff options
author | Papoteur <papoteur@mageia.org> | 2024-02-04 11:17:39 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2024-02-04 11:17:39 +0100 |
commit | 8ab430fc02d090427523c045fd0f0dca073cf69f (patch) | |
tree | 2d10fa9d929c394b29d223c738323ed7b7c59fc1 | |
parent | 24b365382756e1af7f0efea11b0e8f20f9f20b63 (diff) | |
download | mgarepo-8ab430fc02d090427523c045fd0f0dca073cf69f.tar mgarepo-8ab430fc02d090427523c045fd0f0dca073cf69f.tar.gz mgarepo-8ab430fc02d090427523c045fd0f0dca073cf69f.tar.bz2 mgarepo-8ab430fc02d090427523c045fd0f0dca073cf69f.tar.xz mgarepo-8ab430fc02d090427523c045fd0f0dca073cf69f.zip |
Remove installation of mgarepo.conf and create-srpm by setup.py, it is no more installed at the intended place with pyproject.
-rwxr-xr-x | setup.py | 37 |
1 files changed, 17 insertions, 20 deletions
@@ -3,31 +3,28 @@ from distutils.core import setup import sys import re -verpat = re.compile("VERSION *= *\"(.*)\"") +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"])] - ) +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=[ + ("share/bash-completion/completions", ["bash-completion/mgarepo"]), + ("share/man/man8/", ["mgarepo.8"]), + ], +) # vim:ts=4:sw=4:et |