McSinyx / comp

Migrated to https://git.sr.ht/~cnx/comp
https://pypi.org/project/comp/
GNU Affero General Public License v3.0
15 stars 1 forks source link

setup.py doesn't work as expected #5

Closed McSinyx closed 7 years ago

McSinyx commented 7 years ago

./setup.py install installs in eggs so manual page isn't in MANPATH, and wait,

Traceback (most recent call last):
  File "/home/cnx/.local/bin/comp", line 4, in <module>
    __import__('pkg_resources').run_script('comp==0.3.6', 'comp')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 739, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1486, in run_script
    raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'comp'

--old-and-unmanageable flag fixes this but, eh, it's old and unmanageable, and it prevents dependencies installation.

pip3 install comp works well though.

McSinyx commented 7 years ago

Not a bug though, just pip and setup.py work differently.