Coverage for setup.py: 0%
9 statements
« prev ^ index » next coverage.py v7.2.1, created at 2023-03-12 01:21 -0800
« prev ^ index » next coverage.py v7.2.1, created at 2023-03-12 01:21 -0800
1#!/usr/bin/env python
3# This file is part of utils.
4#
5# Developed for the LSST Data Management System.
6# This product includes software developed by the LSST Project
7# (https://www.lsst.org).
8# See the COPYRIGHT file at the top-level directory of this distribution
9# for details of code ownership.
10#
11# Use of this source code is governed by a 3-clause BSD-style
12# license that can be found in the LICENSE file.
14import os
15from setuptools import setup
18version = "0.1.0"
19with open("./python/lsst/utils/version.py", "w") as f:
20 print(f"""
21__all__ = ("__version__", )
22__version__ = '{version}'""", file=f)
24# read the contents of our README file
25this_directory = os.path.abspath(os.path.dirname(__file__))
26with open(os.path.join(this_directory, "README.rst"), encoding='utf-8') as f:
27 long_description = f.read()
29setup(
30 version=f"{version}",
31 long_description=long_description,
32 long_description_content_type="text/rst"
33)