diff --git a/setup.py b/setup.py index 9bba333e3a952e319e115aaab2bf381da18f922d..2d7e10a26aa9f63b82ecf6ff6044d88465337cc7 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# Copyright (C) 2011-2014 GRNET S.A. +# Copyright (C) 2011-2015 GRNET S.A. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,14 +17,17 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import image_creator +from os.path import dirname, abspath, join from setuptools import setup, find_packages +README = join(dirname(abspath(__file__)), 'README.md') + setup( name='snf_image_creator', version=image_creator.__version__, description='Command line tool for creating images', - long_description=open('README.md').read(), + long_description=open(README).read(), url='https://github.com/grnet/snf-image', download_url='https://pypi.python.org/pypi/snf_image_creator', author='Synnefo development team', @@ -52,6 +55,6 @@ setup( 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7'], - keywords = 'cloud IaaS OS images' + keywords='cloud IaaS OS images' ) # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :