Skip to content
This repository was archived by the owner on Feb 25, 2018. It is now read-only.

Commit d436709

Browse files
committedJan 20, 2010
add version info and adjust setup.py script
1 parent 54a85ae commit d436709

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed
 

‎setup.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
#
2-
# This is the dexml setuptools script.
2+
# This is the withhacks setuptools script.
33
# Originally developed by Ryan Kelly, 2009.
44
#
55
# This script is placed in the public domain.
66
#
77

88
from distutils.core import setup
99

10-
import withrestart
11-
VERSION = withrestart.__version__
10+
import withhacks
11+
VERSION = withhacks.__version__
1212

13-
NAME = "withrestart"
14-
DESCRIPTION = "a Pythonisation of the restart-based condition system from Common Lisp"
15-
LONG_DESC = withrestart.__doc__
13+
NAME = "withhacks"
14+
DESCRIPTION = "building blocks for with-statement-related hackery"
15+
LONG_DESC = withhacks.__doc__
1616
AUTHOR = "Ryan Kelly"
1717
AUTHOR_EMAIL = "ryan@rfk.id.au"
18-
URL = "http://github.com/rfk/withrestart"
18+
URL = "http://github.com/rfk/withhacks"
1919
LICENSE = "MIT"
20-
KEYWORDS = "condition restart error exception"
20+
KEYWORDS = "context manager with statement"
2121

2222
setup(name=NAME,
2323
version=VERSION,
@@ -28,6 +28,6 @@
2828
long_description=LONG_DESC,
2929
license=LICENSE,
3030
keywords=KEYWORDS,
31-
packages=["withrestart","withrestart.tests"],
31+
packages=["withhacks","withhacks.tests"],
3232
)
3333

‎withhacks/__init__.py

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838

3939
from __future__ import with_statement
4040

41+
__ver_major__ = 0
42+
__ver_minor__ = 1
43+
__ver_patch__ = 0
44+
__ver_sub__ = ""
45+
__version__ = "%d.%d.%d%s" % (__ver_major__,__ver_minor__,
46+
__ver_patch__,__ver_sub__)
47+
4148
import sys
4249
import new
4350
import copy

0 commit comments

Comments
 (0)
This repository has been archived.