<commit_before>#!/usr/bin/env python

from setuptools import setup
from pip.req import parse_requirements

def local_requirements():
    install_reqs = parse_requirements('./requirements.txt')
    return [str(ir.req) for ir in install_reqs]

setup(name='steamapi',
      version='0.1',
      description='An object-oriented Python 2.7+ library for accessing the Steam Web API',
      url='https://github.com/smiley/steamapi',
      author='Smiley',
      author_email='',
      license='MIT',
      packages=['steamapi'],
      install_requires=local_requirements(),
      zip_safe=False)<commit_msg>Fixes [issue 14]: update for pip 1.1<commit_after>#!/usr/bin/env python

from setuptools import setup
from pip.req import parse_requirements

def local_requirements():
    req_list = [line.strip() for line in open('requirements.txt').readlines()]
    install_reqs = list(filter(None, req_list))
    return install_reqs

setup(name='steamapi',
      version='0.1',
      description='An object-oriented Python 2.7+ library for accessing the Steam Web API',
      url='https://github.com/smiley/steamapi',
      author='Smiley',
      author_email='',
      license='MIT',
      packages=['steamapi'],
      install_requires=local_requirements(),
      zip_safe=False)
{'fraction_non_alphanumeric': 0.1287519747235387, 'fraction_numerical': 0.009478672985781991, 'mean_word_length': 3.9299610894941632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '1928377', 'n_tokens_mistral': 398, 'n_tokens_neox': 386, 'n_words': 88}