Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
7520777f
Commit
7520777f
authored
Dec 29, 2015
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new subprocess32 when possible
parent
148271bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
pipeline/compilers/__init__.py
+7
-1
setup.py
+4
-1
tests/tests/test_compiler.py
+0
-1
tox.ini
+1
-0
No files found.
pipeline/compilers/__init__.py
View file @
7520777f
from
__future__
import
unicode_literals
import
os
import
subprocess
import
sys
if
os
.
name
==
'posix'
and
sys
.
version_info
[
0
]
<
3
:
import
subprocess32
as
subprocess
else
:
import
subprocess
from
tempfile
import
NamedTemporaryFile
from
django.contrib.staticfiles
import
finders
...
...
setup.py
View file @
7520777f
# -*- coding: utf-8 -*-
import
io
import
os
import
sys
from
setuptools
import
setup
,
find_packages
import
sys
install_requires
=
[]
if
(
sys
.
version_info
[
0
],
sys
.
version_info
[
1
])
<
(
3
,
2
):
install_requires
.
append
(
'futures>=2.1.3'
)
if
os
.
name
==
'posix'
and
sys
.
version_info
[
0
]
<
3
:
install_requires
.
append
(
'subprocess32>=3.2.7'
)
setup
(
name
=
'django-pipeline'
,
...
...
tests/tests/test_compiler.py
View file @
7520777f
...
...
@@ -7,7 +7,6 @@ from django.test import TestCase
from
pipeline.collector
import
default_collector
from
pipeline.compilers
import
Compiler
,
CompilerBase
,
SubProcessCompiler
from
pipeline.conf
import
settings
from
pipeline.exceptions
import
CompilerError
from
tests.utils
import
_
,
pipeline_settings
...
...
tox.ini
View file @
7520777f
...
...
@@ -13,6 +13,7 @@ basepython =
deps
=
py{27,py}:
mock
py{27,py}:
futures
py{27,py}:
subprocess32
django18:
Django>=1.8,<1.9
django19:
Django>=1.9,<1.10
jinja2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment