Skip to content

Commit

Permalink
Issue #7: fix for path to marionette.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdyer committed May 27, 2015
1 parent ca7a980 commit 2fec179
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ python:
install:
- "pip install -r requirements.txt"
script:
- echo 'pwd'
- cd $TRAVIS_BUILD_DIR/kpdyer/marionette
- "python setup.py test"
4 changes: 2 additions & 2 deletions marionette_tg/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

import os
import sys
import site

import ConfigParser

def find_conf_file():
search_dirs = [sys.prefix,
'/etc',
'.',
] + site.getsitepackages()
os.path.dirname(__file__),
]
for dir in search_dirs:
conf_path = os.path.join(dir, 'marionette.conf')
if os.path.exists(conf_path):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
package_data={'marionette_tg': ['marionette.conf','formats/*.mar']},
include_package_data=True,
install_requires=['importlib','twisted','fte','regex2dfa','ply'],
version='0.0.1-5',
version='0.0.1-6',
description='Marionette',
long_description='The polymorphic, programmable proxy.',
author='Kevin P. Dyer',
Expand Down

0 comments on commit 2fec179

Please sign in to comment.