forked from nojhan/colout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (30 loc) · 812 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3
import os
import sys
import colout
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
packages = ['colout']
requires = ['argparse', 'pygments', 'babel']
setup(
name='colout',
version='0.1',
description='Color Up Arbitrary Command Ouput.',
long_description=open('README.md').read(),
author='nojhan',
author_email='[email protected]',
url='http://nojhan.github.com/colout/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'colout': 'colout'},
scripts=['bin/colout'],
include_package_data=True,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=False,
)