Skip to content

build/install problems #18

@jmdyck

Description

@jmdyck

I'm trying to follow the instructions for "installing from a source tarball".

I cloned the Rust regex repo, put it in a dir named 'rust-regex', and built it okay.
I cloned this repo, put it in a sibling dir.
So when it says:

RURE_DIR=/path/to/regex/regex-capi python setup.py bdist_wheel

I did this:

RURE_DIR=../rust-regex/regex-capi python3 setup.py bdist_wheel

and it died with this:

running build_rust
error: [Errno 2] No such file or directory: '../rust-regex/regex-capi/target/release'

Now, it's not clear what RURE_DIR is supposed to mean, but I noticed that there's a target dir in the rust-regex dir itself. So I changed my command to:

RURE_DIR=../rust-regex python3 setup.py bdist_wheel

and it seemed to work. So is that a mistake in the README?


Then, when I do this:

pip3 install rure --no-index -f ./dist

I get either

Could not find a version that satisfies the requirement six (from rure) (from versions: )

or

Could not find a version that satisfies the requirement cffi>=1.5.0 (from rure) (from versions: )

I don't know what's going on.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions