Coverage for setup.py: 0%
9 statements
« prev ^ index » next coverage.py v6.5.0, created at 2022-12-01 19:54 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2022-12-01 19:54 +0000
1#!/usr/bin/env python
2import os.path
3from setuptools import setup
6version = "0.1.0"
7with open("./python/lsst/daf/butler/version.py", "w") as f:
8 print(f"""
9__all__ = ("__version__", )
10__version__ = '{version}'""", file=f)
12# read the contents of our README file
13this_directory = os.path.abspath(os.path.dirname(__file__))
14with open(os.path.join(this_directory, "README.md"), encoding='utf-8') as f:
15 long_description = f.read()
17setup(
18 version=f"{version}",
19 long_description=long_description,
20 long_description_content_type="text/markdown"
21)