1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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"}, )