Ejemplo n.º 1
0
    "package": [
        # Wheel building and PyPI uploading
        "wheel",
        "twine",
    ],
}

extras_require["dev"] = extras_require["tests"] + extras_require["package"]

extras_require["all"] = list(
    {req
     for extra, reqs in extras_require.items() for req in reqs})

setup(
    name="nudatus",
    version=get_version(),
    description="Strip comments from scripts, intended for use with "
    "MicroPython and other storage constrained "
    "environments",
    long_description=readme + "\n\n" + changes,
    author="Zander Brown",
    url="https://github.com/zanderbrown/nudatus",
    py_modules=[
        "nudatus",
    ],
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
Ejemplo n.º 2
0
def test_get_version():
    """
    Ensure a call to get_version returns the expected string.
    """
    result = nudatus.get_version()
    assert result == ".".join([str(i) for i in nudatus._VERSION])