<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pip.req import parse_requirements

from setuptools import find_packages, setup

exec(open('verzamelend/version.py').read())
setup(name='verzamelend',
      version=__version__,
      description='Python verzamelend package.',
      author='<NAME>',
      author_email='<EMAIL>',
      maintainer='<NAME>',
      maintainer_email='<EMAIL>',
      url='https://github.com/steenzout/verzamelend',
      packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
      install_requires=[str(pkg.req) for pkg in parse_requirements('requirements.txt')],
      tests_require=[str(pkg.req) for pkg in parse_requirements('test-requirements.txt')],)<commit_msg>improved way to get package version.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pkg_resources


from pip.req import parse_requirements

from setuptools import find_packages, setup


setup(name='verzamelend',
      version=pkg_resources.get_distribution('verzamelend').version,
      description='Python verzamelend package.',
      author='<NAME>',
      author_email='<EMAIL>',
      maintainer='<NAME>',
      maintainer_email='<EMAIL>',
      url='https://github.com/steenzout/verzamelend',
      packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
      install_requires=[str(pkg.req) for pkg in parse_requirements('requirements.txt')],
      tests_require=[str(pkg.req) for pkg in parse_requirements('test-requirements.txt')],)
{'fraction_non_alphanumeric': 0.16589861751152074, 'fraction_numerical': 0.0013166556945358788, 'mean_word_length': 4.62962962962963, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2779117', 'n_tokens_mistral': 494, 'n_tokens_neox': 475, 'n_words': 81}