aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@jbernard.io> 2018-09-07 13:14:49 -0400
committerGravatar Jon Bernard <jbernard@jbernard.io> 2018-09-07 13:14:49 -0400
commit75b51d82fe148637c20c9464d2a66ad10a989514 (patch)
treea37737a60814579d99760cb6ecd8aba07c5c0e47 /bin
parent802de30bf4eabd3f394c02d19e61814a0c718d28 (diff)
downloaddotfiles-75b51d82fe148637c20c9464d2a66ad10a989514.tar.gz
dotfiles-75b51d82fe148637c20c9464d2a66ad10a989514.tar.bz2
dotfiles-75b51d82fe148637c20c9464d2a66ad10a989514.zip
Move vendor directory to avoid pytest recursion
This simplifies the test configuration a bit and gets the vendor directory out of the way.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dotfiles4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dotfiles b/bin/dotfiles
index f2e5147..01c6f07 100755
--- a/bin/dotfiles
+++ b/bin/dotfiles
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import sys
@@ -6,7 +6,7 @@ import sys
PROJECT_ROOT_DIRECTORY = os.path.abspath(
os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))
-PROJECT_VENDOR_DIRECTORY = os.path.join(PROJECT_ROOT_DIRECTORY, 'vendor')
+PROJECT_VENDOR_DIRECTORY = os.path.join(PROJECT_ROOT_DIRECTORY, '.vendor')
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'dotfiles'))
and PROJECT_ROOT_DIRECTORY not in sys.path):