servo/python
Zbynek Winkler 7002fbedd7 Ensure virtualenv activates.
There are two changes:
 * remove quoting which causes virtuaenv not activate
 * check virtualenv actually activated

If the quoting added in the fix in #8394 (4ff8d3ad9c) kicks in, it
causes virtualenv to fail to activate.

For the common case it is no op:
```python
>>> from pipes import quote
>>> print quote('common/case')
common/case
```

When the path actually needs quoting, this is what happens:

```python
>>> print quote('test spaces')
'test spaces'
>>> print quote('windows\\path')
'windows\\path'
```

Note the embedded quotes.

Virtualenv in activate_this.py uses __file__ to build the path that
should be added to PATH:

```python
>>> print os.getcwd()
C:\software\git
>>> print os.path.abspath(quote('windows\\path'))
C:\software\git\'windows\path'
>>>
```

The constructed path is not valid. Adding it at the beginning of PATH
has no effect. This issue affects any case when the call to `quote`
kicks in.
2016-04-21 08:23:03 +02:00
..
mach Upgrade to latest mach from mozilla-central 2015-10-02 15:52:07 -07:00
servo tests for tidy.py #9152 2016-04-07 15:22:52 +02:00
tidy_self_test tests for tidy.py #9152 2016-04-07 15:22:52 +02:00
licenseck.py Add flake8 to the tidy process for Python files 2015-06-04 11:17:34 -04:00
mach_bootstrap.py Ensure virtualenv activates. 2016-04-21 08:23:03 +02:00
README.md Remove references to no-longer-in-tree Python packages 2015-09-02 09:34:02 -04:00
requirements.txt Add mach test-webidl command 2016-01-29 21:12:21 +08:00
tidy.py tests for tidy.py #9152 2016-04-07 15:22:52 +02:00

This directory contains various Python modules used to support servo development.

= mach =

The command dispatch framework used to wrap the build system and test harnesses.

= servo =

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.