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

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

Open
thom4parisot opened this issue Nov 29, 2016 · 2 comments · May be fixed by #11
Open

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

thom4parisot opened this issue Nov 29, 2016 · 2 comments · May be fixed by #11

Comments

@thom4parisot
Copy link
Contributor

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.

@Asphahyre
Copy link
Contributor

Hello
Indeed, I didn't checked that everything was alright. Should be updated later in the day.

As it's a small project for now, I don't feel the need to use CI tools like Travis for now…
Is it really relevant?

@thom4parisot
Copy link
Contributor Author

Is it really relevant?

I think you already gave yourself an answer to this question:

Indeed, I didn't checked that everything was alright.

;-)

Personal opinion but CI is peace of mind.

@dbrojas dbrojas linked a pull request Jul 20, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants