From b7e71fc32f788cf2a6455d33334649350347f6e6 Mon Sep 17 00:00:00 2001 From: Mantas Date: Fri, 23 Jun 2017 11:50:53 +0300 Subject: [PATCH] Fixes #88: failed to install with pip Also this fix includes package version issue, fixed in #87. In order to generate python package with all the files in it, use this command: python setup.py sdist --- MANIFEST.in | 2 ++ setup.py | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..04f196a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE diff --git a/setup.py b/setup.py index 6af0562..3c4d90a 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,6 @@ import os import sys -import colout - try: from setuptools import setup except ImportError: @@ -20,14 +18,14 @@ requires = ['argparse', 'pygments', 'babel'] setup( name='colout', - version='0.1', + version='0.5', description='Color Up Arbitrary Command Output.', long_description=open('README.md').read(), author='nojhan', author_email='nojhan@nojhan.net', url='http://nojhan.github.com/colout/', packages=packages, - package_data={'': ['LICENSE']}, + package_data={'': ['LICENSE', 'README.md']}, package_dir={'colout': 'colout'}, scripts=['bin/colout'], include_package_data=True,