From f3fb58d41606613d8cbf866076d61a666afc1c7c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 22 2016 12:07:46 +0000 Subject: simplify version handling Signed-off-by: Igor Gnatenko --- diff --git a/VERSION b/VERSION deleted file mode 100644 index 17b2ccd..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.4.3 diff --git a/setup.py b/setup.py index c8d82cc..2301dce 100755 --- a/setup.py +++ b/setup.py @@ -1,9 +1,5 @@ from distutils.core import setup -NAME = "rpmfluff" -vfd = open('VERSION') -VERSION = vfd.read().strip() -vfd.close() SHORT_DESC = "Lightweight way of building RPMs, and sabotaging them" LONG_DESC = """ rpmfluff provides a python library for building RPM packages, and @@ -14,19 +10,16 @@ It can also be used to construct test cases for package management software such as rpm and yum. """ -# indicate which python modules to include -py_modules = ["rpmfluff",] - setup ( - name = NAME, - version = VERSION, + name = "rpmfluff", + version = "0.5", author = "David Malcolm", author_email = "dmalcolm@redhat.com", maintainer = "Jan Hutar", maintainer_email = "jhutar@redhat.com", - url = "https://fedorahosted.org/rpmfluff/", - license = "GPLv2", - py_modules = py_modules, + url = "https://pagure.io/rpmfluff", + license = "GPL-2.0+", + py_modules = ["rpmfluff"], description = SHORT_DESC, long_description = LONG_DESC )