469,923 Members | 1,775 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

add re module to a embeded device phyton interpreter

I hav to add the re (regular expressions) functionality to an
Embeded device that I'm using. I read the re.py file and it says I
need several dependencies, one of them is the pcre module but I found
no pcre.py or pcre.pyc file. Someone knows where to find something to
solve my problem. Thanks a lot

Jan 10 '07 #1
1 1081
odlfox wrote:
I hav to add the re (regular expressions) functionality to an
Embeded device that I'm using. I read the re.py file and it says I
need several dependencies, one of them is the pcre module but I found
no pcre.py or pcre.pyc file. Someone knows where to find something to
solve my problem. Thanks a lot
that drills down to a .dll/.so thing depending on installation and python version.

Best make a project/test/dummy script using all the things you want - or actually your project as it.
And then use cx-freeze like "FreezePython -OO mystart.py" to let him collect all the dependent modules in a dist-folder. Then you don't have to worry about all the details yourself.
You can also use UPX and 7zip to further compress the dll's/so's and the py-modules zip archive well.
Robert
Jan 10 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by P.C. | last post: by
reply views Thread by Ilariu Raducan | last post: by
8 posts views Thread by Torsten Mohr | last post: by
4 posts views Thread by Andrew E | last post: by
1 post views Thread by Thomas Heller | last post: by
9 posts views Thread by jdlists | last post: by
11 posts views Thread by gslm | last post: by
4 posts views Thread by Peter J. Bismuti | last post: by
1 post views Thread by mostro713 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.