Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
6a1a1b5a
Commit
6a1a1b5a
authored
Nov 11, 2017
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ares is not optional on travis; more debugging
parent
7b94b179
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
Makefile
Makefile
+2
-1
_setupares.py
_setupares.py
+3
-1
_setuputils.py
_setuputils.py
+1
-0
setup.py
setup.py
+1
-1
No files found.
Makefile
View file @
6a1a1b5a
...
...
@@ -163,7 +163,8 @@ develop:
# Then start installing our deps so they can be cached. Note that use of --build-options / --global-options / --install-options
# disables the cache.
# We need wheel>=0.26 on Python 3.5. See previous revisions.
${PIP}
install
-vv
-U
-r
dev-requirements.txt
${PIP}
install
-v
-U
-r
dev-requirements.txt
cat
deps/c-ares/ares_build.h
lint-py27
:
$(PY27)
PYTHON
=
python2.7.13
PATH
=
$(BUILD_RUNTIMES)
/versions/python2.7.13/bin:
$(PATH)
make develop travis_test_linters
...
...
_setupares.py
View file @
6a1a1b5a
...
...
@@ -23,6 +23,7 @@ from _setuputils import LIBRARIES
from
_setuputils
import
DEFINE_MACROS
from
_setuputils
import
glob_many
from
_setuputils
import
dep_abspath
from
_setuputils
import
RUNNING_ON_TRAVIS
CARES_EMBED
=
should_embed
(
'c-ares'
)
...
...
@@ -83,7 +84,8 @@ ARES = Extension(name='gevent.ares',
define_macros
=
list
(
DEFINE_MACROS
),
depends
=
glob_many
(
'src/gevent/dnshelper.c'
,
'src/gevent/cares_*.[ch]'
))
ARES
.
optional
=
True
ARES
.
optional
=
not
RUNNING_ON_TRAVIS
if
CARES_EMBED
:
...
...
_setuputils.py
View file @
6a1a1b5a
...
...
@@ -22,6 +22,7 @@ from setuptools.command.sdist import sdist
PYPY
=
hasattr
(
sys
,
'pypy_version_info'
)
WIN
=
sys
.
platform
.
startswith
(
'win'
)
CFFI_WIN_BUILD_ANYWAY
=
os
.
environ
.
get
(
"PYPY_WIN_BUILD_ANYWAY"
)
RUNNING_ON_TRAVIS
=
os
.
environ
.
get
(
'TRAVIS'
)
LIBRARIES
=
[]
DEFINE_MACROS
=
[]
...
...
setup.py
View file @
6a1a1b5a
...
...
@@ -187,7 +187,7 @@ if os.getenv('READTHEDOCS'):
try
:
run_setup
(
EXT_MODULES
,
run_make
=
_BUILDING
)
except
BuildFailed
:
if
ARES
not
in
EXT_MODULES
:
if
ARES
not
in
EXT_MODULES
or
not
ARES
.
optional
:
raise
EXT_MODULES
.
remove
(
ARES
)
run_setup
(
EXT_MODULES
,
run_make
=
_BUILDING
)
...
...
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