2013-01-21 20:42:57 +01:00
|
|
|
#!/usr/bin/env python
|
2013-03-11 10:40:09 +01:00
|
|
|
# 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
|
2013-03-03 17:40:35 +01:00
|
|
|
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 = ''
|
|
|
|
|
2013-03-03 17:40:35 +01:00
|
|
|
old_python = sys.version_info < (2, 7)
|
|
|
|
|
2013-02-20 13:47:54 +01:00
|
|
|
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=[
|
2013-01-28 07:09:22 +01:00
|
|
|
'scripts/powerline',
|
2013-03-09 13:16:00 +01:00
|
|
|
'scripts/powerline-lint',
|
2014-05-24 11:44:58 +02:00
|
|
|
'scripts/powerline-config',
|
2013-03-25 16:04:18 +01:00
|
|
|
],
|
2012-12-13 15:43:38 +01:00
|
|
|
keywords='',
|
2013-03-10 12:13:23 +01:00
|
|
|
packages=find_packages(exclude=('tests', 'tests.*')),
|
2012-12-13 15:43:38 +01:00
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
2013-01-15 08:49:40 +01:00
|
|
|
install_requires=[],
|
2012-12-13 15:43:38 +01:00
|
|
|
extras_require={
|
2013-01-15 08:49:40 +01:00
|
|
|
'docs': [
|
|
|
|
'Sphinx',
|
2013-03-25 16:04:18 +01:00
|
|
|
],
|
|
|
|
},
|
2013-03-03 17:40:35 +01:00
|
|
|
test_suite='tests' if not old_python else None,
|
2013-03-25 16:04:18 +01:00
|
|
|
)
|