-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
35 lines (33 loc) · 1.05 KB
/
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
import re
from setuptools import setup
readme = open('README.rst').read()
changes = open('CHANGES.txt').read()
version_file = 'whiptail.py'
version = re.findall("__version__ = '(.*)'", open(version_file).read())[0]
try:
version = __import__('utile').git_version(version)
except ImportError:
pass
setup(
name='whiptail',
version=version,
description="Use whiptail to display dialog boxes from shell scripts",
long_description=readme + '\n\n' + changes,
keywords='whiptail',
author='Marwan Alsabbagh',
author_email='[email protected]',
url='https://github.com/marwano/whiptail',
license='BSD',
py_modules=['whiptail'],
namespace_packages=[],
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
],
)