1
0
Fork 0
mirror of synced 2024-11-26 18:15:35 -05:00
dotbot/bin/dotbot
2014-03-20 18:57:56 -04:00

19 lines
441 B
Python
Executable file

#!/usr/bin/env python
import sys, os
PROJECT_ROOT_DIRECTORY = os.path.dirname(
os.path.dirname(os.path.realpath(__file__)))
if os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'dotbot')):
if PROJECT_ROOT_DIRECTORY not in sys.path:
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
os.putenv('PYTHONPATH', PROJECT_ROOT_DIRECTORY)
import dotbot
def main():
dotbot.cli.main()
if __name__ == '__main__':
main()