File: setup.py

package info (click to toggle)
zkg 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,740 kB
  • sloc: python: 5,910; sh: 268; makefile: 265; cpp: 24
file content (15 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import pathlib

from setuptools import setup


def version():
    return pathlib.Path("VERSION").read_text().replace("-", ".dev", 1).strip()


setup(
    version=version(),
    data_files=[
        ("output_dir", ["VERSION"]),
    ],
)