File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 1717import platform
1818from setuptools import setup , find_packages
1919from platform import python_version
20- from glob import glob
2120
2221import versioneer
2322
3231
3332
3433ON_WINDOWS = platform .system () == 'Windows'
35- ON_RTD = os .environ .get ('READTHEDOCS' ) == 'True'
36-
37- if ON_RTD :
38- files = glob ('pssh/native/*.c' )
39- for _file in files :
40- os .remove (_file )
41-
4234
4335gevent_req = 'gevent<=1.1' if python_version () < '2.7' else 'gevent>=1.1'
4436
4840 'wraparound' : False ,
4941}
5042
51- _fwd_default = 0 if ON_RTD else 1
5243_embedded_lib = bool (int (os .environ .get ('EMBEDDED_LIB' , 1 )))
53- _have_agent_fwd = bool (int (os .environ .get ('HAVE_AGENT_FWD' , _fwd_default )))
44+ _have_agent_fwd = bool (int (os .environ .get ('HAVE_AGENT_FWD' , 1 )))
5445
5546cython_args = {'cython_directives' : cython_directives ,
5647 'cython_compile_time_env' : {
You can’t perform that action at this time.
0 commit comments