Metadata-Version: 2.1
Name: fast_dep
Version: 0.0.4
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-mock ; extra == 'test'
Requires-Dist: pytest-unordered ; extra == 'test'
Provides-Extra: test
License-File: LICENSE.md
Summary: Fast python depdency tracing.
Author: Carter Fendley
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# fast-dep

Fast python dependency tracing, from Rust.

```
pip install fast-dep
```

**NOTE:** There is currently some issue with running PyO3 code in MacOS conda environments, see more details [here]. We currently recommend using `pyenv` installs which work on that OS. See instruction below.


## Installing PyEnv (For MacOS)

Install `pyenv`.

```
brew install pyenv
```

Place the following in your `.zshrc` or `.profile`.

```
eval "$(pyenv init -)"
```

Install a specific version of Python.

```
PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install X.Y.Z
```

Get a shell with this previously installed Python version.

```
pyenv shell X.Y.Z
```

Then install fast dep.

```
pip install fast-dep
```

## Development

#### Building from source

Install rust from [rustup.rs](https://rustup.rs/) then run the following to build the python package for your current environment.

```
pip install -e ".[test]"
```

You can also build without installing by using the following method.

```
pip install maturin
maturin build
```

#### Running tests

```
python -m pytest pytests
```
