File: listmissing.py

package info (click to toggle)
python-pyqtgraph 0.13.7-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,072 kB
  • sloc: python: 54,043; makefile: 127; ansic: 40; sh: 2
file content (14 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
dirs = [
  ('graphicsItems', 'graphicsItems'),
  ('3dgraphics', 'opengl/items'),
  ('widgets', 'widgets'),
]

path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')
for a, b in dirs:
     rst = [os.path.splitext(x)[0].lower() for x in os.listdir(os.path.join(path, 'doc', 'source', a))]
     py = [os.path.splitext(x)[0].lower() for x in os.listdir(os.path.join(path, "pyqtgraph", b))]
     print(a)
     for x in set(py) - set(rst):
         print( "    ", x)