From cc7da0c83a27e42619f0d800b11ef7bf7f82e4bb Mon Sep 17 00:00:00 2001 From: Brett Bethke Date: Wed, 15 Jun 2016 13:32:43 -0700 Subject: [PATCH] Include LICENSE.txt in the package tarball --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3d4fbcf..7a37dc5 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,16 @@ from distutils.core import setup + +VERSION='0.3.1' + setup( name = 'sdnotify', packages = ['sdnotify'], - version = '0.3.0', + version = VERSION, description = 'A pure Python implementation of systemd\'s service notification protocol (sd_notify)', author = 'Brett Bethke', author_email = 'bbethke@gmail.com', url = 'https://github.com/bb4242/sdnotify', - download_url = 'https://github.com/bb4242/sdnotify/tarball/v0.3.0', + download_url = 'https://github.com/bb4242/sdnotify/tarball/v{}'.format(VERSION), keywords = ['systemd'], classifiers = [ "Programming Language :: Python", @@ -18,6 +21,7 @@ "Operating System :: POSIX :: Linux", "Topic :: Software Development :: Libraries :: Python Modules", ], + data_files = [("", ["LICENSE.txt"])], long_description = """\ systemd Service Notification