Skip to content

Commit a0ac035

Browse files
committed
re-pcre: Set sys.path so our module was not picked up by install tools.
1 parent 5efd6e3 commit a0ac035

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

re-pcre/setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
import sys
2+
# Remove current dir from sys.path, otherwise distutils will peek up our
3+
# module instead of system.
4+
sys.path.pop(0)
15
from distutils.core import setup
26

37
setup(name='micropython-re-pcre',
4-
version='0.1',
8+
version='0.1.1',
59
description='re module for MicroPython, based on PCRE and FFI',
610
url='https://github.com/micropython/micropython/issues/405',
711
author='Paul Sokolovsky',

0 commit comments

Comments
 (0)