-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
14 changed files
with
417 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# appveyor.yml: Configuration for continuous integration (automated tests) | ||
# hosted on AppVeyor, see https://ci.appveyor.com/project/xolox/pip-accel. | ||
|
||
version: 1.0.{build} | ||
environment: | ||
PYTHON: C:\Python27 | ||
COVERALLS_REPO_TOKEN: | ||
secure: DCxZQaYFWVR0zWqjTPXhhlRlLdmKNMS2qDUwIR8jRar13clunOqJIaXn+vKInS7g | ||
install: | ||
- cmd: '"%PYTHON%\Scripts\pip.exe" install coveralls .' | ||
build: off | ||
test_script: | ||
- cmd: '"%PYTHON%\Scripts\coverage.exe" run setup.py test' | ||
on_success: | ||
- cmd: '"%PYTHON%\Scripts\coveralls.exe"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,32 @@ | ||
# Accelerator for pip, the Python package manager. | ||
# | ||
# Author: Peter Odding <peter.odding@paylogic.com> | ||
# Last Change: October 27, 2015 | ||
# URL: https://github.com/paylogic/pip-accel | ||
|
||
# Standard library modules. | ||
import sys | ||
|
||
# Inform static code analysis tools about our intention to expose the | ||
# following variables. This avoids 'imported but unused' warnings. | ||
__all__ = ( | ||
'WINDOWS', | ||
'StringIO', | ||
'configparser', | ||
'urlparse', | ||
) | ||
|
||
# Detect whether we're running on Microsoft Windows. | ||
WINDOWS = sys.platform.startswith('win') | ||
|
||
# Compatibility between Python 2 and 3. | ||
try: | ||
# Python 2.x. | ||
# Python 2. | ||
from StringIO import StringIO | ||
from urlparse import urlparse | ||
import ConfigParser as configparser | ||
except ImportError: | ||
# Python 3.x. | ||
# Python 3. | ||
from io import StringIO | ||
from urllib.parse import urlparse | ||
import configparser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.