import librarypaste.librarypaste

if __name__ == '__main__':
	librarypaste.librarypaste.main()

from __future__ import absolute_import

import librarypaste.librarypaste

if __name__ == '__main__':
	librarypaste.librarypaste.main()

Use absolute import