<commit_before># Proof of conecpt: setup.py enhanced pyenv installer

This is a little lab to show that pyenv can be made installable with standard
Python packaging tools (a.k.a. pip).

It turns out, that plugging the installer into pip is borderline trivial. The actual challenges are getting that tested in all kinds of environemnts and automating the shell integration and installing the actual dependencies for compiling Python.

## Testing locally

    $ vagrant up
    $ vagrant ssh

Now you are inside the vagrant container and your prompt should like something like `vagrant@vagrant-ubuntu-trusty-64:~$`

The project (this repository) is mapped into the vagrant image at /vagrant

    $ cd /vagrant
    $ python setup.py install
    $ echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc
    $ echo 'eval "$(pyenv init -)"' >> ~/.bashrc
    $ echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc

## The real problems
<commit_msg>vagrant explanation<commit_after># Proof of conecpt: setup.py enhanced pyenv installer

This is a little lab to show that pyenv can be made installable with standard
Python packaging tools (a.k.a. pip).

It turns out, that plugging the installer into pip is borderline trivial. The actual challenges are getting that tested in all kinds of environemnts and automating the shell integration and installing the actual dependencies for compiling Python.

## Testing locally

If you don't know vagrant yet: just [install the latest package](https://www.vagrantup.com/downloads.html), open a shell in this project directory and say 

    $ vagrant up
    $ vagrant ssh

Now you are inside the vagrant container and your prompt should like something like `vagrant@vagrant-ubuntu-trusty-64:~$`

The project (this repository) is mapped into the vagrant image at /vagrant

    $ cd /vagrant
    $ python setup.py install
    $ echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc
    $ echo 'eval "$(pyenv init -)"' >> ~/.bashrc
    $ echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
    $ source ~/.bashrc
    
Done. pyenv is installed and responding.

## The real problems

{'fraction_non_alphanumeric': 0.08781869688385269, 'fraction_numerical': 0.0018885741265344666, 'mean_word_length': 3.7941176470588234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3239810', 'n_tokens_mistral': 630, 'n_tokens_neox': 582, 'n_words': 269}