class Hello(object):

    def say_hello(self):
        return 'Hello, World!'

def open_image(self):
    print('Reading image.gif contents:')
absolute_image_path = os.path.join(_ROOT, 'images/hello.gif')
with open(absolute_image_path, 'r') as f:
    for line in f:
        pass
A simple Hello World setuptools package and installing it with pip