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 17
17
import platform
18
18
from setuptools import setup , find_packages
19
19
from platform import python_version
20
- from glob import glob
21
20
22
21
import versioneer
23
22
32
31
33
32
34
33
ON_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
-
42
34
43
35
gevent_req = 'gevent<=1.1' if python_version () < '2.7' else 'gevent>=1.1'
44
36
48
40
'wraparound' : False ,
49
41
}
50
42
51
- _fwd_default = 0 if ON_RTD else 1
52
43
_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 )))
54
45
55
46
cython_args = {'cython_directives' : cython_directives ,
56
47
'cython_compile_time_env' : {
You can’t perform that action at this time.
0 commit comments