<commit_before>#!/usr/bin/env python
#
# Copyright (C) 2015 <NAME> <<EMAIL>>
#
# This file is part of nested_dict.
#
# nested_dict is free software: you can redistribute it and/or modify
# it under the terms of the MIT license as found here
# http://opensource.org/licenses/MIT.
#

# Adapted for use at HPC UGent by <NAME>

import os
import re
import sys

import vsc.install.shared_setup as shared_setup

shared_setup.SHARED_TARGET.update({
    'url': 'https://github.com/bunbun/nested-dict',
    'download_url': ('',),
})


# originally, had 2.7, but seems to work with 2.6.6 as well
if not sys.version_info[0:2] >= (2, 6, 6):
    sys.stderr.write("Requires Python later than 2.6.6\n")
    sys.exit(1)


# Following the recommendations of PEP 396 we parse the version number
# out of the module.
def parse_version(module_file):
    """
    Parses the version string from the specified file.
    This implementation is ugly, but there doesn't seem to be a good way
    to do this in general at the moment.
    """
    f = open(module_file)
    s = f.read()
    f.close()
    match = re.findall("__version__ = '([^']+)'", s)
    return match[0]


f = open(os.path.join(os.path.dirname(__file__), "README.rst"))
nested_dict_readme = f.read()
f.close()
nested_dict_version = parse_version(os.path.join("lib/nested_dict", "__init__.py"))

PACKAGE = {
    "name": "nested_dict",
    "version": nested_dict_version,
    "description": "Python dictionary with automatic and arbitrary levels of nestedness",
    "long_description": nested_dict_readme,
    "packages": ["nested_dict"],
    "author": ['Leo Goodstadt'],
    "author_email": '<EMAIL>',
    "url": "http://pypi.python.org/pypi/nested_dict",
    "install_requires": [],
    "setup_requires": [],
    "keywords": ["nested", "dict", "defaultdict", "dictionary", "auto-vivification"],
    "license": "MIT",

    "classifiers": [
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.1",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: End Users/Desktop",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Financial and Insurance Industry",
        "Intended Audience :: Developers",
        'Intended Audience :: Information Technology',
        "License :: OSI Approved :: MIT License",
        "Topic :: Scientific/Engineering",<commit_msg>Remove empty settings and fix name<commit_after>#!/usr/bin/env python
#
# Copyright (C) 2015 <NAME> <<EMAIL>>
#
# This file is part of nested_dict.
#
# nested_dict is free software: you can redistribute it and/or modify
# it under the terms of the MIT license as found here
# http://opensource.org/licenses/MIT.
#

# Adapted for use at HPC UGent by <NAME>

import os
import re
import sys

import vsc.install.shared_setup as shared_setup

shared_setup.SHARED_TARGET.update({
    'url': 'https://github.com/bunbun/nested-dict',
    'download_url': ('',),
})


# originally, had 2.7, but seems to work with 2.6.6 as well
if not sys.version_info[0:2] >= (2, 6, 6):
    sys.stderr.write("Requires Python later than 2.6.6\n")
    sys.exit(1)


# Following the recommendations of PEP 396 we parse the version number
# out of the module.
def parse_version(module_file):
    """
    Parses the version string from the specified file.
    This implementation is ugly, but there doesn't seem to be a good way
    to do this in general at the moment.
    """
    f = open(module_file)
    s = f.read()
    f.close()
    match = re.findall("__version__ = '([^']+)'", s)
    return match[0]


f = open(os.path.join(os.path.dirname(__file__), "README.rst"))
nested_dict_readme = f.read()
f.close()
nested_dict_version = parse_version(os.path.join("lib/nested_dict", "__init__.py"))

PACKAGE = {
    "name": "nested-dict",
    "version": nested_dict_version,
    "description": "Python dictionary with automatic and arbitrary levels of nestedness",
    "long_description": nested_dict_readme,
    "packages": ["nested_dict"],
    "author": ['<NAME>'],
    "author_email": '<EMAIL>',
    "url": "http://pypi.python.org/pypi/nested_dict",
    "keywords": ["nested", "dict", "defaultdict", "dictionary", "auto-vivification"],
    "license": "MIT",

    "classifiers": [
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.1",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: End Users/Desktop",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Financial and Insurance Industry",
        "Intended Audience :: Developers",
        'Intended Audience :: Information Technology',
        "License :: OSI Approved :: MIT License",
        "Topic :: Scientific/Engineering",
{'fraction_non_alphanumeric': 0.14404383174266525, 'fraction_numerical': 0.014139271827500884, 'mean_word_length': 3.3132621951219514, 'pattern_counts': {'":': 24, '<': 14, '<?xml version=': 0, '>': 16, 'https://': 2, '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': '690041', 'n_tokens_mistral': 1789, 'n_tokens_neox': 1708, 'n_words': 515}