Bogumil Zebek | a7308fa | 2019-02-25 11:36:37 +0100 | [diff] [blame] | 1 | import os |
Lianhao Lu | 1ee29e0 | 2019-11-01 16:01:34 +0800 | [diff] [blame] | 2 | import os.path as path |
Bogumil Zebek | a7308fa | 2019-02-25 11:36:37 +0100 | [diff] [blame] | 3 | |
4 | import vnfsdk_pkgtools | ||||
5 | |||||
6 | |||||
7 | def get_project_root(): | ||||
8 | """Returns project root folder.""" | ||||
Lianhao Lu | 1ee29e0 | 2019-11-01 16:01:34 +0800 | [diff] [blame] | 9 | return path.abspath(path.join(path.dirname(vnfsdk_pkgtools.__file__), os.pardir)) |