[Scons-users] Error with Scons SCons-4.4.0 installation on Centos7

Arnab Tah arnabtah7 at gmail.com
Fri Dec 23 03:54:48 EST 2022


Hello,
I am getting the following error with Scons installation on Centos 7.
Any help in this matter will be much appreciated.

Regards,
Arnab

[root at bmkqaclient143 SCons-4.4.0]# python setup.py install
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    version=get_version('SCons/__init__.py'),
  File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line
128, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line
121, in _install_setup_requires
    dist.parse_config_files(ignore_option_errors=True)
  File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line
495, in parse_config_files
    ignore_option_errors=ignore_option_errors)
  File "/usr/lib/python3.6/site-packages/setuptools/config.py", line
107, in parse_configuration
    options.parse()
  File "/usr/lib/python3.6/site-packages/setuptools/config.py", line
395, in parse
    self.section_prefix, section_name))
distutils.errors.DistutilsOptionError: Unsupported distribution option
section: [options.data_files]
[root at bmkqaclient143 SCons-4.4.0]#

[root at bmkqaclient143 SCons-4.4.0]# pwd
/home/atah/scons/SCons-4.4.0
[root at bmkqaclient143 SCons-4.4.0]# ls
build  LICENSE      PKG-INFO    SCons    SCons.egg-info  scons-time.1  setup.py
dist   MANIFEST.in  README.rst  scons.1  sconsign.1      setup.cfg
UNKNOWN.egg-info
[root at bmkqaclient143 SCons-4.4.0]#

[root at bmkqaclient143 SCons-4.4.0]# python --version
Python 3.6.8
[root at bmkqaclient143 SCons-4.4.0]#

[root at bmkqaclient143 SCons-4.4.0]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root at bmkqaclient143 SCons-4.4.0]#


More information about the Scons-users mailing list