Coverage for admin_shell/requirements.py : 81%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
DEVELOPER_INSTALL: "developer_installation.txt", NORMAL_INSTALL: "normal_installation.txt", }
else: print("PyLucid is installed as packages here: %s" % self.package_path) self.install_mode=self.NORMAL_INSTALL
def normal_mode(self):
""" :return: Path(.../pylucid/requirements/) """ raise RuntimeError("Requirements directory not found here: %s" % requirement_path)
""" :return: Path(.../pylucid/requirements/<mode>_installation.txt) """
raise RuntimeError("Requirements file not found here: %s" % requirement_file_path)
if __name__ == '__main__': import pylucid package_path = Path(pylucid.__file__).parent req = Requirements(package_path=package_path) print("requirement_path.......:", req.get_requirement_path()) print("requirement_file_path..:", req.get_requirement_file_path()) |