aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-05-22 13:42:38 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-05-22 13:42:38 +0000
commit1e2f270469c61337ef7f5f92ab93f691e5d86492 (patch)
tree92f1d8dc1abac73131ddeaa9867d4ef3d36ab1da /python
parent76f58d4432898b68da2a65237ed6089d0ef90653 (diff)
Diffstat (limited to 'python')
-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