Changeset 123
- Timestamp:
- 08/02/06 15:32:39 (4 years ago)
- Files:
-
- branches/mk/cheesecake/__init__.py (modified) (1 diff)
- branches/mk/cheesecake/cheesecake_index.py (modified) (3 diffs)
- branches/mk/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mk/cheesecake/__init__.py
r2 r123 1 __version__ = '0.1' branches/mk/cheesecake/cheesecake_index.py
r121 r123 33 33 from util import time_function 34 34 from codeparser import CodeParser 35 from cheesecake import __version__ as VERSION 35 36 36 37 __docformat__ = 'reStructuredText en' … … 1652 1653 parser.add_option("-v", "--verbose", action="store_true", dest="verbose", 1653 1654 default=False, help="verbose output (default=False)") 1655 parser.add_option("-V", "--version", action="store_true", dest="version", 1656 default=False, help="Output cheesecake version and exit") 1654 1657 1655 1658 (options, args) = parser.parse_args() … … 1669 1672 static_only = options.static 1670 1673 lite = options.lite 1674 version = options.version 1675 1676 if version: 1677 print "cheesecake version %s" % VERSION 1678 sys.exit(0) 1671 1679 1672 1680 if not name and not url and not path: branches/mk/setup.py
r122 r123 5 5 from setuptools import setup 6 6 from pkg_resources import require 7 from cheesecake import __version__ as VERSION 7 8 8 9 # Instruct nose to use doctests. … … 13 14 setup( 14 15 name = 'Cheesecake', 15 version = '0.1',16 version = VERSION, 16 17 17 18 # metadata for upload to PyPI
