import sys
# setting path
sys.path.append('../parentdirectory')
# importing
from parentdirectory.geeks import geek_method
# using
geek_method()
exec(open(<filename.py>).read())
from ... import nib
from setuptools import setup, find_packages
setup(name='myproject', version='1.0', packages=find_packages())