Comments (4)
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.
It looks like a syntax error: in your script, {cp36-cp36m}
should read {cp36,cp36m}
.
from setuptools-rust.
@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.
As suggested in the landing page, pyo3-pack should be used instead this project.
from setuptools-rust.
Related Issues (20)
- RustBin doesn't get installed to correct scripts path with setup.py install HOT 2
- Simplify `install_rust_extension` command
- Locating executable does not work properly HOT 7
- 1.5.x sdist no longer contains examples, docs, and tests HOT 5
- build fails with "error: Rust build failed; unable to find any build artifacts" HOT 6
- Is there a way to trigger `release` target build for `build_ext --inplace` command? HOT 3
- setuptools-rust fails to cross-compile cryptography using crossenv HOT 10
- Failed to build on MacOs 13.0.1,setuptools_rust HOT 1
- can I build an `.so` without the target between the module name and the extension? HOT 2
- Setuptools deprecation warning with setuptools-rust HOT 4
- Facing an issue while trying to build setuptools-rust HOT 3
- Compilation in setuptools_rust fails with `1.70.0-nightly` toolchain HOT 3
- Python crashes on import when using pip editable install on M1 HOT 6
- Unable to control `--debug` / `--release` via PEP517 backend HOT 7
- No module named 'setuptools.command.build' HOT 2
- Document how to use setuptools-rust with a workspace HOT 2
- Scaling PyO3 down with single-file Python extensions HOT 7
- DeprecationWarning: pkg_resources is deprecated as an API
- Allow offline mode via environment variable HOT 7
- `install_extension` crashes due to attempt to mkdir an empty path (v1.8.0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setuptools-rust.