re-pcre: Set sys.path so our module was not picked up by install tools.

asyncio-segfault
Paul Sokolovsky 2014-04-12 19:15:17 +03:00
rodzic 5efd6e3351
commit a0ac03599e
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -1,7 +1,11 @@
import sys
# Remove current dir from sys.path, otherwise distutils will peek up our
# module instead of system.
sys.path.pop(0)
from distutils.core import setup
setup(name='micropython-re-pcre',
version='0.1',
version='0.1.1',
description='re module for MicroPython, based on PCRE and FFI',
url='https://github.com/micropython/micropython/issues/405',
author='Paul Sokolovsky',