Giter Site home page Giter Site logo

Comments (4)

brupelo avatar brupelo commented on June 6, 2024

I've made some little progress but I'm still stuck at:

[vagrant@localhost pysublime_fuzzy]$ docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 sh -c "/io/build-wheels.sh"
sh: /io/build-wheels.sh: Permission denied
[vagrant@localhost pysublime_fuzzy]$ chmod +x build-wheels.sh
[vagrant@localhost pysublime_fuzzy]$ docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 sh -c "/io/build-wheels.sh"
+ curl https://sh.rustup.rs -sSf
+ sh -s -- --default-toolchain nightly -y
info: downloading installer
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2019-03-22, rust version 1.35.0-nightly (94fd04589 2019-03-21)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: default toolchain set to 'nightly'

  nightly installed - rustc 1.35.0-nightly (94fd04589 2019-03-21)


Rust is installed now. Great!

To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done automatically.

To configure your current shell run source $HOME/.cargo/env
+ export PATH=/root/.cargo/bin:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/root/.cargo/bin:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ cd /io
+ for PYBIN in '/opt/python/{cp36-cp36m}/bin'
+ export 'PYTHON_SYS_EXECUTABLE=/opt/python/{cp36-cp36m}/bin/python'
+ PYTHON_SYS_EXECUTABLE='/opt/python/{cp36-cp36m}/bin/python'
+ '/opt/python/{cp36-cp36m}/bin/pip' install -U setuptools wheel setuptools-rust
/io/build-wheels.sh: line 12: /opt/python/{cp36-cp36m}/bin/pip: No such file or directory
[vagrant@localhost pysublime_fuzzy]$

from setuptools-rust.

althonos avatar althonos commented on June 6, 2024

It looks like a syntax error: in your script, {cp36-cp36m} should read {cp36,cp36m}.

from setuptools-rust.

brupelo avatar brupelo commented on June 6, 2024

@althonos Right now I'm trying to learn a little bit more about docker so I can test properly this stuff... :) , one thing I'm trying to figure out now is how to persist the rust installation so each time I rebuild my python binaries I won't need quite a lot while rust installs... almost there.

Thanks for your hint btw ;)

from setuptools-rust.

brupelo avatar brupelo commented on June 6, 2024

As suggested in the landing page, pyo3-pack should be used instead this project.

from setuptools-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.