1940 installFromSource = not os.path.isdir(sourceDir) |
1940 installFromSource = not os.path.isdir(sourceDir) |
1941 |
1941 |
1942 # cleanup source if installing from source |
1942 # cleanup source if installing from source |
1943 if installFromSource: |
1943 if installFromSource: |
1944 print("Cleaning up source ...") |
1944 print("Cleaning up source ...") |
|
1945 sourceDir = os.path.dirname(__file__) or "." |
1945 cleanupSource(sourceDir) |
1946 cleanupSource(sourceDir) |
1946 print() |
1947 print() |
1947 |
1948 |
1948 if installFromSource: |
1949 if installFromSource: |
1949 sourceDir = os.path.dirname(__file__) or "." |
1950 sourceDir = os.path.dirname(__file__) or "." |