summaryrefslogtreecommitdiff
path: root/setup.py
blob: c59b4e93a1c56560159f9de8daf41da3d273eaed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- coding: utf-8 -*-
import textwrap

from setuptools import setup

setup(
    use_scm_version={
        "write_to": "src/tox/version.py",
        "write_to_template": textwrap.dedent(
            """
             # coding: utf-8
             from __future__ import unicode_literals

             __version__ = {version!r}
             """,
        ).lstrip(),
    },
    package_dir={"": "src"},
)