<commit_before># Installation

bfg9000 uses [setuptools](https://pythonhosted.org/setuptools/), so installation
is much the same as any other Python package:

```sh
$ pip install .
```

If you've downloaded bfg, just run `pip install .` from the source directory.
(Equivalently, you can run `python setup.py install`.) From there, you can start
using bfg to build your software!

## Installing patchelf

On Linux, bfg9000 requires [patchelf](https://nixos.org/patchelf.html) in order
to modify [rpath](https://en.wikipedia.org/wiki/Rpath)s of executables and
shared libraries when installing. The setup script will automatically download
and install patchelf when installing the rest of bfg9000. If you're installing
bfg into a [virtualenv](https://virtualenv.readthedocs.org/en/latest/), patchelf
will go into `$VIRTUAL_ENV/bin`. You can also manually install patchelf from the
setup script with the following command (assuming you've downloaded bfg's
source):

```sh
$ python setup.py install_patchelf
```

If you'd prefer not to install patchelf at all, simply set the environment
variable `NO_PATCHELF` to `1` before installing bfg9000:

```sh
$ NO_PATCHELF=1 pip install bfg9000
```

## Installing MSBuild support

Since many users don't need it, MSBuild support is an optional feature. To<commit_msg>Fix installation instructions<commit_after># Installation

bfg9000 uses [setuptools](https://pythonhosted.org/setuptools/), so installation
is much the same as any other Python package:

```sh
$ pip install bfg9000
```

If you've downloaded bfg, just run `pip install .` from the source directory.
(Equivalently, you can run `python setup.py install`.) From there, you can start
using bfg to build your software!

## Installing patchelf

On Linux, bfg9000 requires [patchelf](https://nixos.org/patchelf.html) in order
to modify [rpath](https://en.wikipedia.org/wiki/Rpath)s of executables and
shared libraries when installing. The setup script will automatically download
and install patchelf when installing the rest of bfg9000. If you're installing
bfg into a [virtualenv](https://virtualenv.readthedocs.org/en/latest/), patchelf
will go into `$VIRTUAL_ENV/bin`. You can also manually install patchelf from the
setup script with the following command (assuming you've downloaded bfg's
source):

```sh
$ python setup.py install_patchelf
```

If you'd prefer not to install patchelf at all, simply set the environment
variable `NO_PATCHELF` to `1` before installing bfg9000:

```sh
$ NO_PATCHELF=1 pip install bfg9000
```

## Installing MSBuild support

Since many users don't need it, MSBuild support is an optional feature. To
{'fraction_non_alphanumeric': 0.08845861807137434, 'fraction_numerical': 0.018223234624145785, 'mean_word_length': 5.185446009389671, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6908698', 'n_tokens_mistral': 852, 'n_tokens_neox': 771, 'n_words': 320}