powerline/setup.py

43 lines
961 B
Python
Raw Normal View History

#!/usr/bin/env python
# vim:fileencoding=utf-8:noet
2013-07-20 15:14:18 +02:00
from __future__ import unicode_literals
2012-12-13 15:43:38 +01:00
import os
import sys
2012-12-13 15:43:38 +01:00
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
2013-07-20 15:14:18 +02:00
README = open(os.path.join(here, 'README.rst'), 'rb').read().decode('utf-8')
2012-12-13 15:43:38 +01:00
except IOError:
README = ''
old_python = sys.version_info < (2, 7)
setup(
name='Powerline',
2012-12-17 15:24:42 +01:00
version='beta',
2012-12-13 15:43:38 +01:00
description='The ultimate statusline/prompt utility.',
long_description=README,
classifiers=[],
2013-08-20 13:07:56 +02:00
author='Kim Silkebaekken',
2012-12-13 15:43:38 +01:00
author_email='kim.silkebaekken+vim@gmail.com',
url='https://github.com/Lokaltog/powerline',
2013-01-17 09:25:56 +01:00
scripts=[
'scripts/powerline',
'scripts/powerline-lint',
'scripts/powerline-config',
],
2012-12-13 15:43:38 +01:00
keywords='',
packages=find_packages(exclude=('tests', 'tests.*')),
2012-12-13 15:43:38 +01:00
include_package_data=True,
zip_safe=False,
install_requires=[],
2012-12-13 15:43:38 +01:00
extras_require={
'docs': [
'Sphinx',
],
},
test_suite='tests' if not old_python else None,
)