Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download only of package not possible #60

Open
cmusik opened this issue Oct 16, 2020 · 1 comment
Open

Download only of package not possible #60

cmusik opened this issue Oct 16, 2020 · 1 comment

Comments

@cmusik
Copy link

cmusik commented Oct 16, 2020

To create a rpm package I need to download the tar.gz. But this failes as setup.py imports pywebcopy and so you need to have all dependencies installed on the build server:

buildhost :: /tmp » pip download --no-deps --no-binary=:all: pywebcopy
Collecting pywebcopy
  Downloading https://files.pythonhosted.org/packages/69/c1/e9b8429a34ccbfa446a0a019a21303d9496823b31a2c80f8946cb114c130/pywebcopy-6.3.0.tar.gz (52kB)
     |████████████████████████████████| 61kB 1.6MB/s 
  Saved ./pywebcopy-6.3.0.tar.gz
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-download-v2d6nmo5/pywebcopy/setup.py", line 14, in <module>
        import pywebcopy
      File "/tmp/pip-download-v2d6nmo5/pywebcopy/pywebcopy/__init__.py", line 50, in <module>
        from .parsers import Parser, MultiParser
      File "/tmp/pip-download-v2d6nmo5/pywebcopy/pywebcopy/parsers.py", line 19, in <module>
        from pyquery import PyQuery
    ModuleNotFoundError: No module named 'pyquery'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-download-v2d6nmo5/pywebcopy/
@rajatomar788
Copy link
Owner

@cmusik do a pr i will approve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants