Coverage for setup.py: 0%
9 statements
« prev ^ index » next coverage.py v6.4.1, created at 2022-06-11 03:00 -0700
« prev ^ index » next coverage.py v6.4.1, created at 2022-06-11 03:00 -0700
1#!/usr/bin/env python
3# This file is part of ctrl_bps.
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# This program is free software: you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation, either version 3 of the License, or
14# (at your option) any later version.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
23import os.path
25from setuptools import setup
27version = "0.1.0"
28with open("./python/lsst/ctrl/bps/version.py", "w") as f:
29 print(
30 f"""
31__all__ = ("__version__", )
32__version__ = '{version}'""",
33 file=f,
34 )
36# read the contents of our README file
37this_directory = os.path.abspath(os.path.dirname(__file__))
38with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
39 long_description = f.read()
41setup(version=version, long_description=long_description, long_description_content_type="text/markdown")