8000 Python setup fixes by tfcollins · Pull Request #550 · analogdevicesinc/libiio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Python setup fixes #550

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

Merged
merged 13 commits into from
Jun 16, 2020
Merged

Python setup fixes #550

merged 13 commits into from
Jun 16, 2020

Conversation

tfcollins
Copy link
Contributor

This PR fixes #547 and #545.

This fixes #545 when running `make DESTDIR=./some/folder install`. If
DESTDIR is set we will try to find the library in that path.

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
@tfcollins tfcollins requested a review from rgetz June 8, 2020 18:47
This fixes some pathing issues with the sphinx doc that previously
required the library to be installed before sphinx doc could be
correctly built. This fixes #547

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
@tfcollins tfcollins force-pushed the python-setup-fixes branch from 4944a98 to 192fa42 Compare June 8, 2020 18:54
With doc build fix we can remove the required library install from CI,
which occurred before sphinx doc could be built.

Signed-off-by: Travis F. Collins <travis.collins@analog.com>
@tfcollins tfcollins force-pushed the python-setup-fixes branch from bfdc10e to 095e61c Compare June 8, 2020 23:15
@rgetz rgetz force-pushed the python-setup-fixes branch 24 times, most recently from a1d170c to 9d0a01a Compare June 10, 2020 16:10
@rgetz rgetz force-pushed the python-setup-fixes branch 8 times, most recently from ec9b8ea to 04559d7 Compare June 14, 2020 15:59
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
@rgetz rgetz force-pushed the python-setup-fixes branch 5 times, most recently from d2f2171 to 5a80094 Compare June 15, 2020 15:58
rgetz added 7 commits June 15, 2020 13:04
so the path is correctly set in all the scripts.
provide a bash backtrace function, so we can add that for debugging.

Signed-off-by: Robin Getz <robin.getz@analog.com>
to compile libiio on x86, when we are actually building on ARM

Signed-off-by: Robin Getz <robin.getz@analog.com>
This should eliminate simultaneous CI instances trying to remove the
same files, and erroring out, causing false failures on the CI.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Robin Getz <robin.getz@analog.com>
I don't know who maintains this infrastructure - but they don't use the
same keys on all their mirrors, so we need to use -o "StrictHostKeyChecking no"
which defeats the purpose of secure anything.

But this will avoid errors when pushing things up.

Since this is only pushing things up, not pulling things down - this is
not risky.

Signed-off-by: Robin Getz <robin.getz@analog.com>
this will go through the files on the server, and remove old artifacts
that aren't associated with an active branch or tag.

Signed-off-by: Robin Getz <robin.getz@analog.com>
We are getting all sorts of weird warnings on Travis-CI like:
/home/travis/.travis/functions: line 556: /bin/cat: Argument list too long
/home/travis/.travis/functions: line 561: /bin/sleep: Argument list too long

which (according to google) comes from ARTIFACTS_PATHS not being set
properly. However, we are not doing artifacts, we are doing deployments.

https://docs.travis-ci.com/user/uploading-artifacts/
https://docs.travis-ci.com/user/deployment/releases/
https://docs.travis-ci.com/user/deployment/script/

Since we aren't doing artifacts - turn it off.

Signed-off-by: Robin Getz <robin.getz@analog.com>
@rgetz rgetz force-pushed the python-setup-fixes branch from 5a80094 to 8678898 Compare June 15, 2020 17:04
@rgetz rgetz requested a review from dNechita June 15, 2020 18:17
tfcollins and others added 2 commits June 15, 2020 12:41
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
@rgetz rgetz merged commit fc5b671 into master Jun 16, 2020
dNechita added a commit that referenced this pull request Jun 17, 2020
Changelog:
5502a2d iio.h: add some doc about iio_context_clone not working on usb
c240dd7 Upgrade python setuptools for CI
8678898 travis-ci: We don't use "artifacts" so turn it off
eaaf588 travis-ci: remove old branches, so things don't fill up
f9abc28 travis-ci: avoid errors when uploading things to akami
d32fc58 travis-ci: provide an index of artifacts to people can find things.
f03e9ad travis-ci: Only rm old files from one build
c0aab37 travis: save some time by not setting up the host
a024e87 travis-ci: Make sure python is set properly in the lib
e2f46f0 Remove token requirement for sphinx doc build on CI
6bbf792 iiod: Make startup (with Avahi) more robust.
3425601 Remove make install requirement in CI
192fa42 Enable pydoc to be built without library installed
5c86f76 Add support for DESTDIR for python builds
b1d19e3 Fix tag requirement on pypi travis-ci

Robin Getz (14):
      Merge pull request #546 from analogdevicesinc/travis-ci-fix
      iiod: Make startup (with Avahi) more robust.
      Merge pull request #551 from analogdevicesinc/rgetz-make-iiod-start-more-robust
      travis-ci: Make sure python is set properly in the lib
      travis: save some time by not setting up the host
      travis-ci: Only rm old files from one build
      travis-ci: provide an index of artifacts to people can find things.
      travis-ci: avoid errors when uploading things to akami
      travis-ci: remove old branches, so things don't fill up
      travis-ci: We don't use "artifacts" so turn it off
      Merge pull request #553 from analogdevicesinc/CI-python-doc-fix
      Merge pull request #550 from analogdevicesinc/python-setup-fixes
      iio.h: add some doc about iio_context_clone not working on usb
      Merge pull request #554 from analogdevicesinc/rgetz-add-doc-to-clone

Travis F. Collins (6):
      Fix tag requirement on pypi travis-ci
      Add support for DESTDIR for python builds
      Enable pydoc to be built without library installed
      Remove make install requirement in CI
      Remove token requirement for sphinx doc build on CI
      Upgrade python setuptools for CI

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
@tfcollins tfcollins deleted the python-setup-fixes branch October 9, 2020 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
40A4
Development

Successfully merging this pull request may close these issues.

Sphinx errors when building 0.20
3 participants
0