<commit_before># coding: utf-8

""" Spectral Comparison and Parameter Evaluation """ 

import os
import re
import sys

try:
    from setuptools import setup

except ImportError:
    from distutils.core import setup

major, minor1, minor2, release, serial =  sys.version_info

readfile_kwargs = {"encoding": "utf-8"} if major >= 3 else {}

def readfile(filename):
    with open(filename, **readfile_kwargs) as fp:
        contents = fp.read()
    return contents

version_regex = re.compile("__version__ = \"(.*?)\"")
contents = readfile(os.path.join(
    os.path.dirname(os.path.abspath(__file__)),
    "scope",
    "__init__.py"))

version = version_regex.findall(contents)[0]


setup(name="spectroscope",
      version=version,
      author="<NAME>",
      author_email="<EMAIL>",
      packages=["scope"],
      url="http://www.github.com/andycasey/spectroscope/",
      license="GPLv2",
      description="Infer stellar parameters from spectra",
      long_description=readfile(os.path.join(os.path.dirname(__file__), "README.md")),
      install_requires=readfile(
          os.path.join(os.path.dirname(__file__), "requirements.txt")).split("\n"),<commit_msg>all the cool kids are doing it<commit_after># coding: utf-8

""" Spectral Comparison and Parameter Evaluation """ 

import os
import re
import sys

try:
    from setuptools import setup

except ImportError:
    from distutils.core import setup

major, minor1, minor2, release, serial =  sys.version_info

readfile_kwargs = {"encoding": "utf-8"} if major >= 3 else {}

def readfile(filename):
    with open(filename, **readfile_kwargs) as fp:
        contents = fp.read()
    return contents

version_regex = re.compile("__version__ = \"(.*?)\"")
contents = readfile(os.path.join(
    os.path.dirname(os.path.abspath(__file__)),
    "scope",
    "__init__.py"))

version = version_regex.findall(contents)[0]


setup(name="spectroscope",
      version=version,
      author="<NAME>",
      author_email="<EMAIL>",
      packages=["scope"],
      url="http://www.github.com/andycasey/spectroscope/",
      license="MIT",
      description="Infer stellar parameters from spectra",
      long_description=readfile(os.path.join(os.path.dirname(__file__), "README.md")),
      install_requires=readfile(
          os.path.join(os.path.dirname(__file__), "requirements.txt")).split("\n"),
{'fraction_non_alphanumeric': 0.14840085287846483, 'fraction_numerical': 0.005543710021321962, 'mean_word_length': 3.9182389937106916, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3149914', 'n_tokens_mistral': 747, 'n_tokens_neox': 736, 'n_words': 155}