<commit_before>#!/usr/bin/env python
#coding=utf-8
"""
VirtualEnvironment Bootstrap
============================

zc.buildout is a great system for many different purposes. However,
for quick prototyping of libraries and flexibility of using easy_install
or pip virtualenv has the edge on buildout. The one major function that 
virtualenv does not have is easy repeatability. This script attempts
to remedy that by creating a special bootstrap for virtualenv that has the
ability to use buildout, pip, a list of unix commands, or any combination of
those three options to introduce repeatability to your programs.
"""
from optparse import OptionParser
from subprocess import call
import json
import os, sys
import platform
import urllib

VIRTUALENV_INSTALLED = True
try:
    import virtualenv
except ImportError:
    VIRTUALENV_INSTALLED = False

if platform.system() == "Windows":
    print "virtstrap is only made for posix systems. Sorry."
    sys.exit(1)

##########################################
# Program Constants                      #
##########################################
EXIT_WITH_ERROR = 1
EXIT_NORMALLY = 0
VIRTUALENV_PROMPT_TEMPLATE = "({0}env) "
DEFAULT_SETTINGS_FILENAME = "vsettings.json"

DEFAULT_SETTINGS = dict(
    package_name="",
    use_site_packages=False,
    virtualenv_dir="./.env/",
    env_types=[], #Possible values command_list, pip, buildout
    # buildout bootstrap url so it can be downloaded. 
    # It's long so it was split into two lines (if that wasn't obvious)
    buildout_bootstrap_url=("http://svn.zope.org/*checkout*/" 
        "zc.buildout/trunk/bootstrap/bootstrap.py"),
)<commit_msg>Updated virtualenv directory to env instead of .env<commit_after>#!/usr/bin/env python
#coding=utf-8
"""
VirtualEnvironment Bootstrap
============================

zc.buildout is a great system for many different purposes. However,
for quick prototyping of libraries and flexibility of using easy_install
or pip virtualenv has the edge on buildout. The one major function that 
virtualenv does not have is easy repeatability. This script attempts
to remedy that by creating a special bootstrap for virtualenv that has the
ability to use buildout, pip, a list of unix commands, or any combination of
those three options to introduce repeatability to your programs.
"""
from optparse import OptionParser
from subprocess import call
import json
import os, sys
import platform
import urllib

VIRTUALENV_INSTALLED = True
try:
    import virtualenv
except ImportError:
    VIRTUALENV_INSTALLED = False

if platform.system() == "Windows":
    print "virtstrap is only made for posix systems. Sorry."
    sys.exit(1)

##########################################
# Program Constants                      #
##########################################
EXIT_WITH_ERROR = 1
EXIT_NORMALLY = 0
VIRTUALENV_PROMPT_TEMPLATE = "({0}env) "
DEFAULT_SETTINGS_FILENAME = "vsettings.json"

DEFAULT_SETTINGS = dict(
    package_name="",
    use_site_packages=False,
    virtualenv_dir="./env/",
    env_types=[], #Possible values command_list, pip, buildout
    # buildout bootstrap url so it can be downloaded. 
    # It's long so it was split into two lines (if that wasn't obvious)
    buildout_bootstrap_url=("http://svn.zope.org/*checkout*/" 
        "zc.buildout/trunk/bootstrap/bootstrap.py"),
)
{'fraction_non_alphanumeric': 0.1364322366435255, 'fraction_numerical': 0.003018412315122246, 'mean_word_length': 4.523333333333333, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2915341', 'n_tokens_mistral': 955, 'n_tokens_neox': 899, 'n_words': 341}