aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rwxr-xr-xbin/dotfiles18
-rw-r--r--tox.ini2
3 files changed, 1 insertions, 23 deletions
diff --git a/.gitignore b/.gitignore
index 7ab4233..6a2511d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,3 @@
-
-bin/*
-!bin/dotfiles
-
*.pyc
*.pyo
__pycache__/
diff --git a/bin/dotfiles b/bin/dotfiles
deleted file mode 100755
index 774d6a0..0000000
--- a/bin/dotfiles
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-
-import os
-import sys
-
-
-# Add project root directory (enable symlink, and trunk execution).
-PROJECT_ROOT_DIRECTORY = os.path.abspath(
- os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))
-
-if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'dotfiles'))
- and PROJECT_ROOT_DIRECTORY not in sys.path):
- sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
- os.putenv('PYTHONPATH', PROJECT_ROOT_DIRECTORY)
-
-if __name__ == '__main__':
- from dotfiles.cli import main
- main()
diff --git a/tox.ini b/tox.ini
index ef15f9a..e601738 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,4 +7,4 @@ commands = py.test {posargs}
[testenv:flake8]
deps = flake8
-commands = flake8 {posargs} bin/ dotfiles/ tests/
+commands = flake8 {posargs} dotfiles/ tests/