hotfix python3 install bug

This commit is contained in:
John Anderson 2013-05-05 21:17:02 +08:00
commit 55d09b2858
2 changed files with 7 additions and 8 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# Copyright © 2013 Martin Ueding <dev@martin-ueding.de> # Copyright @ 2013 Martin Ueding <dev@martin-ueding.de>
# Small launcher script for the main module. # Small launcher script for the main module.
@ -8,4 +8,4 @@
set -e set -e
set -u set -u
python3 -m colout.colout "$@" python -m colout.colout "$@"

View file

@ -1,10 +1,9 @@
#!/usr/bin/env python3 #!/usr/bin/env python
#coding=utf-8
import os import os
import sys import sys
#import colout
try: try:
from setuptools import setup from setuptools import setup
except ImportError: except ImportError:
@ -39,17 +38,17 @@ setup(
version='0.1', version='0.1',
description='Color Up Arbitrary Command Ouput.', description='Color Up Arbitrary Command Ouput.',
long_description=open('README').read(), long_description=open('README').read(),
author='nojhan', author='Nojhan',
author_email='nojhan@nojhan.net', author_email='nojhan@nojhan.net',
url='http://nojhan.github.com/colout/', url='http://nojhan.github.com/colout/',
download_url = 'https://pypi.python.org/packages/source/C/colout/colout-0.1.tar.gz', download_url = 'https://pypi.python.org/packages/source/c/colout/colout-0.1.tar.gz',
packages=packages, packages=packages,
package_data={'': ['LICENSE']}, package_data={'': ['LICENSE']},
package_dir={'colout': 'colout'}, package_dir={'colout': 'colout'},
scripts=['bin/colout'], scripts=['bin/colout'],
include_package_data=True, include_package_data=True,
install_requires=requires, install_requires=requires,
license=open('LICENSE').read(), license="GPL 3",
classifiers = filter(None, classifiers.split("\n")), classifiers = filter(None, classifiers.split("\n")),
zip_safe=False, zip_safe=False,
) )