Added setup.py, a distutils-based install script.

This commit is contained in:
David Cantrell 2008-10-04 19:46:04 -10:00
parent 9c3e0a79af
commit f1ba230378

15
setup.py Normal file
View File

@ -0,0 +1,15 @@
import distutils
import glob
distutils.core.setup(name='lorax',
version='0.1',
description='Boot image build tool',
author='David Cantrell',
author_email='dcantrell@redhat.com',
license='GPLv2+',
package_dir = {'': 'src'},
packages = ['pylorax'],
scripts = ['src/bin/lorax.py'],
data_files = [('/usr/share/lorax', glob.glob('share/*'),
('/etc/lorax', glob.glob('etc/*')]
)