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
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
16from setuptools import setup
18version = "0.1.0"
19with open("./python/lsst/utils/version.py", "w") as f:
20 print(
21 f"""
22__all__ = ("__version__", )
23__version__ = '{version}'""",
24 file=f,
25 )
27# read the contents of our README file
28this_directory = os.path.abspath(os.path.dirname(__file__))
29with open(os.path.join(this_directory, "README.rst"), encoding="utf-8") as f:
30 long_description = f.read()
32setup(version=f"{version}", long_description=long_description, long_description_content_type="text/rst")