Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
python-handel
Commits
71af3f54
Commit
71af3f54
authored
Aug 30, 2017
by
Vincent Michel
Browse files
Fix python2 compat
parent
af054e37
Changes
2
Hide whitespace changes
Inline
Side-by-side
handel/interface.py
View file @
71af3f54
...
...
@@ -3,7 +3,7 @@
from
__future__
import
absolute_import
import
os
import
configparser
from
six.moves
import
configparser
import
numpy
...
...
@@ -366,4 +366,4 @@ def get_config(filename):
config
=
configparser
.
ConfigParser
(
comment_prefixes
=
[
'START'
,
'END'
,
'#'
,
'*****'
])
config
.
read
(
filename
)
return
{
key
:
dict
(
section
)
for
key
,
section
in
config
.
items
()}
return
{
key
:
dict
(
section
)
for
section
in
config
.
items
()}
setup.py
View file @
71af3f54
...
...
@@ -11,7 +11,7 @@ setup(
version
=
'0.1.0.dev0'
,
packages
=
[
'handel'
],
install_requires
=
[
'cffi'
,
'numpy'
],
install_requires
=
[
'cffi'
,
'numpy'
,
'six'
],
setup_requires
=
[
'pytest-runner'
,
'pytest'
]
if
TESTING
else
[],
tests_require
=
[
'pytest-cov'
,
'mock'
],
...
...
Write
Preview
Supports
Markdown
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