setup.py
This file
The walk stopped after 200 commits: lines older than 1646647 point at it.
Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647
lines 1–28why, one step back1import re2import ast3from setuptools import setup456_version_re = re.compile(r'__version__\s+=\s+(.*)')789with open('click/__init__.py', 'rb') as f:10 version = str(ast.literal_eval(_version_re.search(11 f.read().decode('utf-8')).group(1)))121314setup(15 name='click',16 author='Armin Ronacher',17 author_email='armin.ronacher@active-4.com',18 version=version,19 url='http://github.com/mitsuhiko/click',20 packages=['click'],21 description='A simple wrapper around optparse for '22 'powerful command line utilities.',23 classifiers=[24 'License :: OSI Approved :: BSD License',25 'Programming Language :: Python',26 'Programming Language :: Python :: 3',27 ],28)