File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ script:
11
11
- " if [[ \" $GROUP\" == js ]] ; then npm run lint ; fi"
12
12
- " if [[ \" $GROUP\" == js ]] ; then npm run test ; fi"
13
13
- " if [[ \" $GROUP\" == js ]] ; then npm run test:demo ; fi"
14
+ - " if [[ \" $GROUP\" == js ]] ; then pip install .; fi"
14
15
- " if [[ \" $GROUP\" == python-linting ]] ; then black . --check ; fi"
15
16
- " if [[ \" $GROUP\" == python-linting ]] ; then flake8 ; fi"
16
17
- " if [[ \" $GROUP\" == python-linting ]] ; then isort -rc -c ; fi"
@@ -19,6 +20,8 @@ matrix:
19
20
include :
20
21
- python : 3.6
21
22
env : GROUP=python-linting
23
+ - python : 2.7
24
+ env : GROUP=js
22
25
- python : 3.6
23
26
env : GROUP=js
24
27
- python : 2.7
Original file line number Diff line number Diff line change
1
+ import io
1
2
import os
2
3
3
4
from setuptools import find_packages , setup
@@ -19,7 +20,7 @@ def _get_version():
19
20
20
21
21
22
def _get_long_description ():
22
- with open (os .path .join (HERE , "landing-page.md" ), encoding = "utf8" ) as f :
23
+ with io . open (os .path .join (HERE , "landing-page.md" ), encoding = "utf8" ) as f :
23
24
return f .read ()
24
25
25
26
You can’t perform that action at this time.
0 commit comments