Coverage for setup.py: 0%
Shortcuts on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
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)