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
3fa47d1f
Commit
3fa47d1f
authored
Jan 01, 2016
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Use new subprocess32 when possible"
This reverts commit
7520777f
.
parent
42babfbc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
12 deletions
+3
-12
pipeline/compilers/__init__.py
+1
-7
setup.py
+1
-4
tests/tests/test_compiler.py
+1
-0
tox.ini
+0
-1
No files found.
pipeline/compilers/__init__.py
View file @
3fa47d1f
from
__future__
import
unicode_literals
import
os
import
sys
if
os
.
name
==
'posix'
and
sys
.
version_info
[
0
]
<
3
:
import
subprocess32
as
subprocess
else
:
import
subprocess
import
subprocess
from
tempfile
import
NamedTemporaryFile
from
django.contrib.staticfiles
import
finders
...
...
setup.py
View file @
3fa47d1f
# -*- 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 @
3fa47d1f
...
...
@@ -7,6 +7,7 @@ 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 @
3fa47d1f
...
...
@@ -13,7 +13,6 @@ 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