Shuffle things around so that dist-utils can be used.
This commit is contained in:
parent
cbb78e7318
commit
023ad1b0fb
9
MANIFEST.in
Normal file
9
MANIFEST.in
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
include Authors
|
||||||
|
include Changelog
|
||||||
|
include COPYING
|
||||||
|
include GPL
|
||||||
|
include PLAN.*
|
||||||
|
include README
|
||||||
|
include TESTING
|
||||||
|
include ToDo
|
||||||
|
include config/*
|
@ -19,7 +19,7 @@ metadata_expire=1800
|
|||||||
[development]
|
[development]
|
||||||
name=Fedora Core - Development
|
name=Fedora Core - Development
|
||||||
baseurl=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/x86_64/os/
|
baseurl=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/x86_64/os/
|
||||||
http://download.fedora.redhat.com/pub/fedora/linux/core/development/x86_64/os/
|
# http://download.fedora.redhat.com/pub/fedora/linux/core/development/x86_64/os/
|
||||||
#baseurl=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/$basearch/os/
|
#baseurl=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/$basearch/os/
|
||||||
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
||||||
enabled=1
|
enabled=1
|
@ -13,8 +13,8 @@
|
|||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import gather
|
import pypungi.gather
|
||||||
import pungi
|
import pypungi.pungi
|
||||||
import yum
|
import yum
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -37,11 +37,11 @@ def main():
|
|||||||
print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.cachedir
|
print >> sys.stderr, "Error: Cannot create cache dir %s" % opts.cachedir
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
mygather = gather.Gather(opts, pkglist)
|
mygather = pypungi.gather.Gather(opts, pkglist)
|
||||||
mygather.getPackageObjects()
|
mygather.getPackageObjects()
|
||||||
mygather.downloadPackages()
|
mygather.downloadPackages()
|
||||||
|
|
||||||
mypungi = pungi.Pungi(opts)
|
mypungi = pypungi.pungi.Pungi(opts)
|
||||||
mypungi.doBuildinstall()
|
mypungi.doBuildinstall()
|
||||||
mypungi.doPackageorder()
|
mypungi.doPackageorder()
|
||||||
mypungi.doSplittree()
|
mypungi.doSplittree()
|
0
pypungi/__init__.py
Normal file
0
pypungi/__init__.py
Normal file
@ -14,8 +14,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
#sys.path.append('/usr/lib/anaconda-runtime')
|
#sys.path.append('/usr/lib/anaconda-runtime') # use our patched splittree for now
|
||||||
sys.path.append('./tests') # use our patched splittree for now
|
|
||||||
import splittree
|
import splittree
|
||||||
import shutil
|
import shutil
|
||||||
|
|
15
setup.py
Normal file
15
setup.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from distutils.core import setup
|
||||||
|
import glob
|
||||||
|
|
||||||
|
setup(name='pungi',
|
||||||
|
version='0.1.0',
|
||||||
|
description='Distribution compose tool',
|
||||||
|
author='Jesse Keating',
|
||||||
|
author_email='jkeating@redhat.com',
|
||||||
|
url='http://linux.duke.edu/projects/pungi',
|
||||||
|
license='GPL',
|
||||||
|
packages = ['pypungi'],
|
||||||
|
scripts = ['pungi'],
|
||||||
|
data_files=[('/etc/pungi', glob.glob('config/*'))]
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user