<commit_before>#/usr/bin/env python
from setuptools import setup
from xero import VERSION

try:
    readme = open("README.md")
    long_description = str(readme.read())
finally:
    readme.close()

setup(
    name='pyxero',
    version=VERSION,
    description='Python API for accessing the REST API of the Xero accounting tool.',
    long_description=long_description,
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://github.com/freakboy3742/pyxero',
    packages=['xero', ],<commit_msg>Less code is better (use python's "with" in setup.py)<commit_after>#/usr/bin/env python
from setuptools import setup
from xero import VERSION

with open('README.md') as readme:
    long_description = str(readme.read())

setup(
    name='pyxero',
    version=VERSION,
    description='Python API for accessing the REST API of the Xero accounting tool.',
    long_description=long_description,
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://github.com/freakboy3742/pyxero',
    packages=['xero', ],
{'fraction_non_alphanumeric': 0.13261296660117877, 'fraction_numerical': 0.007858546168958742, 'mean_word_length': 4.27979274611399, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '6128277', 'n_tokens_mistral': 334, 'n_tokens_neox': 329, 'n_words': 81}