<commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open  # To use a consistent encoding
from os import path

here = path.abspath(path.dirname(__file__))

# Get the long description from the relevant file
with open(path.join(here, 'README.txt'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='freesif',
    version='0.1',
    description='Get data from Sesam Interface Files',
    long_description=long_description,
#    url='https://github.com/agrav/freesif',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    classifiers=[
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: MIT License',
        # 'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
    ],
    keywords='sesam structural hydrodynamic',
    packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
    install_requires=['tables', 'numpy'],
)<commit_msg>Enable versioning using Git tags, rendering of README in markdown syntax and limit depenencies by version.<commit_after># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os


# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    # package data
    name='freesif',
    description='Get data from Sesam Interface Files',
    use_scm_version=True,
    packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
    package_data=dict(),
    python_requires='~=3.7',
    setup_requires=['setuptools_scm'],
    install_requires=[
        'tables>=3.6,<4',
        'numpy>=1.17,<2'
    ],
    zip_safe=True,

    # meta data
    long_description=read('README.md'),
    keywords='sesam structural hydrodynamic',
    url='https://github.com/agrav/freesif',
    author='<NAME>',
    author_email='<EMAIL>',
    license='MIT',
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.4',
    ],
)
{'fraction_non_alphanumeric': 0.1407312925170068, 'fraction_numerical': 0.011479591836734694, 'mean_word_length': 3.3253676470588234, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4238810', 'n_tokens_mistral': 752, 'n_tokens_neox': 719, 'n_words': 201}