Skip to content

Cannot install from pip: C_OpeningHours: No such file or directory #8

@thom4parisot

Description

@thom4parisot

Hello again!

There is some progress in the pip install. Unfortunately the git submodule is/has not be checked in. I do not know if it is doable or recommended but it prevents the install to proceed because the C library is not here:

Running setup.py install for opening-hours: finished with status 'error'
    Complete output from command /usr/local/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-0xzXec/opening-hours/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8TJgaO-record/install-record.txt --single-version-externally-managed --compile:
    make: *** C_OpeningHours: No such file or directory.  Stop.

At the moment the only way I can install it is by using the git+https syntax of pip requirements.txt:

git+https://github.com/anthill/Python_OpeningHours#2180e1cd9209df92d3c12b69bf03a67bc29167e4=opening_hours

Maybe a good way to enforce a consistent deploy of the package would be to use a CI and a Pypi deployer like TravisCI offers to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions