4 from distutils.core import setup
7 # enable "setup.py develop", optional
11 MOD_NAME = 'kickstart'
13 version_path = 'VERSION'
14 if not os.path.isfile(version_path):
15 print 'No VERSION file in topdir, abort'
19 # first line should be the version number
20 version = open(version_path).readline().strip()
22 print 'VERSION file is invalid, abort'
25 ver_file = open('%s/__version__.py' % MOD_NAME, 'w')
26 ver_file.write("VERSION = \"%s\"\n" % version)
29 print 'WARNING: Cannot write version number file'
31 setup(name='kickstarter',
33 description='Kickstarter',
35 author_email='anas.nashif@intel.com',
36 url='http://meego.com/',
37 scripts=['tools/kickstarter'],
38 packages=['kickstart', 'kswriter']