Hello,

Trying to install ReviewBoard 3.0.17 and seems it is getting to error:

  File "setup.py", line 38, in <module>
    def add_dir_to_list(dirlist, dir):
TypeError: find_packages() got an unexpected keyword argument 'include'

The OS is RHEL 7.7 and Pyton 2.7.

Can you please let me know if it is known issue? I tried to reinstall 
setuptools and still getting the same error:
easy_install -U ReviewBoard
Searching for ReviewBoard
Reading https://pypi.python.org/simple/ReviewBoard/
Best match: ReviewBoard 3.0.17
Downloading 
https://files.pythonhosted.org/packages/5f/61/7fff7e98c795a30cd5324d8d5d83d9a4e27aac2088fc1ecca19a2ee473e4/ReviewBoard-3.0.17-py2.7.egg#sha256=f25a13e3aef048fa29da7f0a04d12ab7eefe7e7b4ba0985adc385d40edc3b3cf
Processing ReviewBoard-3.0.17-py2.7.egg
removing '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg' 
(and everything under it)
creating /usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg
Extracting ReviewBoard-3.0.17-py2.7.egg to /usr/lib/python2.7/site-packages
ReviewBoard 3.0.17 is already the active version in easy-install.pth
Installing rbext script to /usr/bin
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin

Installed /usr/lib/python2.7/site-packages/ReviewBoard-3.0.17-py2.7.egg
Processing dependencies for ReviewBoard
Searching for Pygments>=2.1
Reading https://pypi.python.org/simple/Pygments/
Best match: Pygments 2.6.1
Downloading 
https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz#sha256=647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44
Processing Pygments-2.6.1.tar.gz
Writing /tmp/easy_install-0g5Roa/Pygments-2.6.1/setup.cfg
Running Pygments-2.6.1/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-0g5Roa/Pygments-2.6.1/egg-dist-tmp-mGIurM
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 9, in <module>
    load_entry_point('UNKNOWN==0.0.0', 'console_scripts', 'easy_install')()
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
1992, in main
    with_ei_usage(lambda:
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
1979, in with_ei_usage
    return f()
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
1996, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
380, in run
    self.easy_install(spec, not self.no_deps)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
623, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
655, in install_item
    self.process_distribution(spec, dist, deps)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
706, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 618, in 
resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 862, in 
best_match
    return self.obtain(req, installer) # try and download/install
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 874, in 
obtain
    return installer(requirement)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
623, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
653, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
849, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
1130, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File 
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 
1115, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, 
in run_setup
    lambda: execfile(
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, 
in run
    return func()
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, 
in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 38, in <module>
    def add_dir_to_list(dirlist, dir):
TypeError: find_packages() got an unexpected keyword argument 'include'




and setuptools:
asy_install -U setuptools
Searching for setuptools
Reading https://pypi.python.org/simple/setuptools/
Best match: setuptools 46.1.3
Downloading 
https://files.pythonhosted.org/packages/b5/96/af1686ea8c1e503f4a81223d4a3410e7587fd52df03083de24161d0df7d4/setuptools-46.1.3.zip#sha256=795e0475ba6cd7fa082b1ee6e90d552209995627a2a227a47c6ea93282f4bfb1
Processing setuptools-46.1.3.zip
Writing /tmp/easy_install-Hxb8i5/setuptools-46.1.3/setup.cfg
Running setuptools-46.1.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-Hxb8i5/setuptools-46.1.3/egg-dist-tmp-lYPe9Q
warning: no files found matching '*.py' under directory 'tests'
warning: no previously-included files found matching 'pyproject.toml'
warning: install_lib: 'build/lib' does not exist -- no Python modules to 
install

zip_safe flag not set; analyzing archive contents...
UNKNOWN 0.0.0 is already the active version in easy-install.pth
Installing easy_install script to /usr/bin
Installing easy_install-2.7 script to /usr/bin

Installed /usr/lib/python2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg
Skipping dependencies for UNKNOWN 0.0.0

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/45cfbf26-dcf3-494c-8856-17a173c8b16c%40googlegroups.com.

Reply via email to