from setuptools import setup

setup(
        name = "augur",
        version = "0.1.0",
        author = "nextstrain developers",
        author_email = "trevor@bedford.io, richard.neher@unibas.ch",
        description = ("Pipelines for real-time phylogenetic analysis"),
        license = "MIT",
        keywords = "nextstrain, molecular epidemiology",
        url = "https://github.com/nextstrain/augur",
        packages=['augur'],
        package_data={'augur': ['data/*']},
        install_requires = [
            "bcbio-gff >=0.6.4, ==0.6.*",
            "biopython >=1.69, ==1.*",
            "boto >=2.38, ==2.*",
            "cvxopt >=1.1.8, ==1.1.*",
            "ipdb >=0.10.1",
            "jsonschema ==3.0.0a1",
            "matplotlib >=2.0, ==2.*",
            "pandas >=0.17.1",
            "phylo-treetime >=0.4.1, ==0.4.*",
            "seaborn >=0.6.0, ==0.6.*",
            "snakemake >=5.1.5, ==5.*"
        ],
        extras_require={
            'dev': [
                "pylint >=1.7.6, ==1.7.*",
                "pytest >=3.2.1, ==3.*",
            ]
        },
        classifiers=[
            "Development Status :: 3 - Alpha",
            "Topic :: Science",
            "License :: OSI Approved :: MIT License",
            ],
        scripts=['bin/augur']
        )

@@ -21,16 +21,269 @@
 rt setup
+%0Afrom pathlib    import Path%0A%0Abase_dir     = Path(__file__).parent.resolve()%0Aversion_file = base_dir / %22augur/__version__.py%22%0A%0A# Eval the version file to get __version__; avoids importing our own package%0Awith version_file.open() as f:%0A    exec(f.read())
 %0A%0Asetup(
@@ -329,15 +329,19 @@
 n = 
-%220.1.0%22
+__version__
 ,%0A  

Read package version from our __version__ constant