aboutsummaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/setup.py')
-rw-r--r--python/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/setup.py b/python/setup.py
index 8da832bac381..c30395d97b5a 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -41,12 +41,12 @@ template = 'python/MANIFEST.in'
# distutils assume setup.py is in the root of the project
# we need to include C source from the parent so trick it
in_ucl_root = 'setup.py' in os.listdir('python')
-if in_ucl_root:
+if not os.path.isfile('setup.py') and in_ucl_root:
os.link('python/setup.py', 'setup.py')
setup(
name = 'ucl',
- version = '0.8.1',
+ version = '0.8.2',
description = 'ucl parser and emitter',
ext_modules = [uclmodule],
template=template, # no longer supported with setuptools but doesn't hurt