[英]Has anyone tried integrating Tox and SCL on Centos6/7?
I use CENTOS 6/7 for my development and I was wondering if anyone had some success integrating TOX, setuptools and SCL version of python: rh-python34, rh-python35 and rh-python36? 我使用CENTOS 6/7进行开发,我想知道是否有人在整合TOX,setuptools和python SCL版本方面取得了一些成功:rh-python34,rh-python35和rh-python36? There isn't much info on the web regarding this topic?
网络上没有太多有关此主题的信息?
Thanks 谢谢
In your tox.ini
file you should be able to do something like: 在
tox.ini
文件中,您应该可以执行以下操作:
[testenv:py36]
basepython=
/opt/rh/rh-python36/root/usr/bin/python3.6
Which sets the python to use to create the virtualenv. 设置用于创建virtualenv的python。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.