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 38 39 40 41 42 43 44 45 46 47
|
# -*- coding: utf-8 -*-
from setuptools import setup
# 2018-03-04 (tonyc) this breaks because it imports urwid, which the user may
# or may not have installed yet. For now, just maintain README separately.
#import urwid_utils
# README.rst dynamically generated:
# with open('README.rst', 'w') as f:
# f.write(urwid_utils.__doc__)
NAME = "urwid_utils" #urwid_utils.__name__
def read(file):
with open(file, 'r') as f:
return f.read().strip()
setup(
name=NAME,
version="0.1.3.dev0",
description='A collection of simple, straightforward, but extensible utilities for the urwid package.',
# long_description=read('README.rst'),
author='Tony Cebzanov',
author_email='tonycpsu@gmail.com',
url='https://github.com/stnbu/{0}'.format(NAME),
download_url='https://github.com/tonycpsu/{0}/archive/master.zip'.format(NAME),
provides=[NAME],
install_requires=['urwid'],
license='MIT',
bugtrack_url='https://github.com/tonycpsu/{0}/issues'.format(NAME),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console :: Curses',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Topic :: Software Development :: User Interfaces',
'Topic :: Software Development :: Widget Sets',
'Topic :: Software Development',
'Topic :: Utilities',
],
packages=[NAME],
keywords=[],
test_suite='test',
)
|