Commits

Andriy Kornatskyy  committed f2fb005

virtualenv should be found in system PATH

  • Participants
  • Parent commits e04f153

Comments (0)

Files changed (5)

 debian:
 	apt-get -yq update
 	apt-get -yq dist-upgrade
-	apt-get -yq install build-essential python python-dev \
-		python-setuptools python-virtualenv mercurial
+	# How to Compile Python from Source
+	# http://mindref.blogspot.com/2011/09/compile-python-from-source.html
+	apt-get -yq install libbz2-dev build-essential python \
+		python-dev python-setuptools python-virtualenv \
+		mercurial
 
 env:
 	PYTHON_EXE=/usr/local/bin/python$(VERSION); \
 	if [ ! -x $$PYTHON_EXE ]; then \
 		PYTHON_EXE=/usr/bin/python$(VERSION); \
 	fi;\
-	/usr/bin/virtualenv --python=$$PYTHON_EXE \
+	virtualenv --python=$$PYTHON_EXE \
 		--no-site-packages env
 	$(EASY_INSTALL) coverage mocker \
 		nose pytest pytest-pep8 pytest-cov wsgiref

File src/wheezy/routing/builders.py

 
 import re
 
-from route import Route
-from route import PlainRoute
-from route import RegexRoute
-from curly import RE_SPLIT as RE_CURLY_ROUTE
-from curly import convert as curly_convert
+from wheezy.routing.route import Route
+from wheezy.routing.route import PlainRoute
+from wheezy.routing.route import RegexRoute
+from wheezy.routing.curly import RE_SPLIT as RE_CURLY_ROUTE
+from wheezy.routing.curly import convert as curly_convert
 
 
 RE_PLAIN_ROUTE = re.compile('^[\w/-]+$')

File src/wheezy/routing/config.py

 """ ``config`` module.
 """
 
-from builders import try_build_plain_route
-from builders import try_build_curly_route
-from builders import try_build_regex_route
+from wheezy.routing.builders import try_build_plain_route
+from wheezy.routing.builders import try_build_curly_route
+from wheezy.routing.builders import try_build_regex_route
 
-from curly import patterns as curly_patterns
-from curly import default_pattern as curly_default_pattern
+from wheezy.routing.curly import patterns as curly_patterns
+from wheezy.routing.curly import default_pattern as curly_default_pattern
 
 route_builders = [
     try_build_plain_route,

File src/wheezy/routing/route.py

 
 import re
 
-from utils import merge
+from wheezy.routing.utils import merge
 
 
 class Route(object):

File src/wheezy/routing/router.py

 """ ``router`` module.
 """
 
-from builders import build_route
-from config import route_builders as default_route_builders
-from utils import route_name, merge
+from wheezy.routing.builders import build_route
+from wheezy.routing.config import route_builders as default_route_builders
+from wheezy.routing.utils import route_name, merge
 
 
 def url(pattern, handler, kwargs=None, name=None):