add in setup.py and default centpkg.conf

This commit is contained in:
Brian Stinson 2014-06-13 23:43:32 -05:00
parent 9bd7b3b47a
commit d0f4ad968d
2 changed files with 24 additions and 0 deletions

15
setup.py Normal file
View file

@ -0,0 +1,15 @@
from setuptools import setup
setup(
name = "centpkg",
version = "0.0.1",
author = "Brian Stinson",
author_email = "bstinson@ksu.edu",
description = "CentOS Plugin to rpkg for managing RPM package sources",
url = "http://bitbucket.org/bstinsonmhk/centpkg.git",
license = "GPLv2+",
package_dir = {'': 'src'},
packages = ['centpkg'],
scripts = ['src/bin/centpkg'],
data_files = [('/etc/rpkg',['src/centpkg.conf']),]
)

9
src/centpkg.conf Normal file
View file

@ -0,0 +1,9 @@
[centpkg]
lookaside = https://git.centos.org/sources/
lookasidehash = sha1
lookaside_cgi = https://localhost/repo/pkgs/upload.cgi #Not Implemented
gitbaseurl = ssh://%(user)s@git.centos.org/git/rpms/%(module)s
anongiturl = https://git.centos.org/git/rpms/%(module)s
branchre = c\d$|c\d-plus$|master$
kojiconfig = /etc/koji.conf
build_client = koji