Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/lxml/__init__.py @ 0:26e78fe6e8c4 draft
"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
| author | shellac |
|---|---|
| date | Sat, 02 May 2020 07:14:21 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:26e78fe6e8c4 |
|---|---|
| 1 # this is a package | |
| 2 | |
| 3 __version__ = "4.5.0" | |
| 4 | |
| 5 | |
| 6 def get_include(): | |
| 7 """ | |
| 8 Returns a list of header include paths (for lxml itself, libxml2 | |
| 9 and libxslt) needed to compile C code against lxml if it was built | |
| 10 with statically linked libraries. | |
| 11 """ | |
| 12 import os | |
| 13 lxml_path = __path__[0] | |
| 14 include_path = os.path.join(lxml_path, 'includes') | |
| 15 includes = [include_path, lxml_path] | |
| 16 | |
| 17 for name in os.listdir(include_path): | |
| 18 path = os.path.join(include_path, name) | |
| 19 if os.path.isdir(path): | |
| 20 includes.append(path) | |
| 21 | |
| 22 return includes | |
| 23 |
