[PyQt] [pyqtdeploy] Migrate to PEP440 compatible versioning to replace "unknown" versions

Ilya Kulakov kulakov.ilya at gmail.com
Wed Jul 22 01:54:57 BST 2015


Otherwise it's impossible to install pyqtdeploy from sources on modern versions of setuptools:

Traceback (most recent call last):
  File "setup.py", line 78, in <module>
    'gui_scripts':      ['pyqtdeploy = pyqtdeploy.main_gui:main']
  File "/Users/developer/app/build/usr/lib/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Users/developer/app/build/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/Users/developer/app/build/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/setuptools/command/install.py", line 103, in do_egg_install
    cmd.ensure_finalized()  # finalize before bdist_egg munges install cmd
  File "/Users/developer/app/build/usr/lib/python3.4/distutils/cmd.py", line 107, in ensure_finalized
    self.finalize_options()
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 317, in finalize_options
    self.index_url, search_path=self.shadow_path, hosts=hosts,
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/setuptools/package_index.py", line 269, in __init__
    Environment.__init__(self,*args,**kw)
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 975, in __init__
    self.scan(search_path)
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1005, in scan
    self.add(dist)
  File "/Users/developer/app/build/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1025, in add
    dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
TypeError: unorderable types: str() < NoneType()



More information about the PyQt mailing list