<commit_before>""" myhdl's distutils distribution and installation script. """

from __future__ import print_function
import sys

requiredVersion = (2, 6)
requiredVersionStr = ".".join([str(i) for i in requiredVersion])

versionError = "ERROR: myhdl requires Python %s or higher" % requiredVersionStr

# use version_info to check version
# this was new in 2.0, so first see if it exists
try:
    sys.version_info
except:
    print(versionError)
    raise SystemExit(1)

if sys.version_info < requiredVersion:
    print(versionError)
    raise SystemExit(1)

from distutils.core import setup

classifiers = """\
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Operating System :: OS Independent
Programming Language :: Python
Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
"""

    
setup(name="myhdl",
      version="0.9",
      description="Python as a Hardware Description Language",
      long_description = "See home page.",
      author="<NAME>",
      author_email="<EMAIL>",
      url="http://www.myhdl.org",
      download_url="https://bitbucket.org/jandecaluwe/myhdl/get/0.8.1.zip",
      packages=['myhdl', 'myhdl.conversion'],
      license="LGPL",
      platforms=["Any"],
      keywords="HDL ASIC FPGA hardware design",
      classifiers=filter(None, classifiers.split("\n")),
      )<commit_msg>clean up setup.py<commit_after>""" myhdl's distribution and installation script. """

import sys

if sys.version_info < (2, 6) or (3, 0) <= sys.version_info < (3, 4):
    raise RuntimeError("Python version 2.6, 2.7 or >= 3.4 required.")


# Prefer setuptools over distutils
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

setup(
    name="myhdl",
    version="0.9.dev0",
    description="Python as a Hardware Description Language",
    long_description="See home page.",
    author="<NAME>",
    author_email="<EMAIL>",
    url="http://www.myhdl.org",
    download_url="https://bitbucket.org/jandecaluwe/myhdl/get/0.8.1.zip",
    packages=['myhdl', 'myhdl.conversion'],
    license="LGPL",
    platforms='any',
    keywords="HDL ASIC FPGA hardware design",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
        'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
    ]
)
{'fraction_non_alphanumeric': 0.1317721076546662, 'fraction_numerical': 0.014330653617616217, 'mean_word_length': 3.5865384615384617, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5114533', 'n_tokens_mistral': 880, 'n_tokens_neox': 840, 'n_words': 241}