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

setuptools-git-version says "fatal" during package installation time #6

Open
miohtama opened this issue Jun 26, 2016 · 0 comments
Open

Comments

@miohtama
Copy link

miohtama commented Jun 26, 2016

setuptools-git-version tries to do something when a prepackaged package is being installed and fails with "fatal" error message. setuptools-git-version should not be active during package installation time, only during packaging time:

Collecting xxx-frontend==0.0.195+f649302 (from -r /srv/pyramid/xxx/requirements.txt (line 94))
  Downloading https://pypi.xxx.com/xxx/dev/+f/fb6/6278367bbf790/xxx_frontend-0.0.195+f649302.tar.gz (2.1MB)
    Complete output from command python setup.py egg_info:
    zip_safe flag not set; analyzing archive contents...

    Installed /tmp/pip-build-9e50qgrb/xxx-frontend/.eggs/setuptools_git_version-1.0.3-py3.5.egg
    fatal: Not a git repository (or any of the parent directories): .git
    running egg_info
    creating pip-egg-info/xxx_frontend.egg-info
    writing pip-egg-info/xxx_frontend.egg-info/PKG-INFO
    writing entry points to pip-egg-info/xxx_frontend.egg-info/entry_points.txt
    writing requirements to pip-egg-info/xxx_frontend.egg-info/requires.txt
    writing top-level names to pip-egg-info/xxx_frontend.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/xxx_frontend.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/xxx_frontend.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    error: package directory 'xxx_frontend' does not exist

    ----------------------------------------

Whether "fatal" error message is relevant or not here is not clear, as it is probably sympton of a masked error or something. However if something is not fatal it should not appear in the installation messages.

@miohtama miohtama changed the title setuptools-git-version gets invoked during package installation time, fails setuptools-git-version says "fatal" during package installation time Jun 26, 2016
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

1 participant