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

9 statements  

1#!/usr/bin/env python 

2 

3# This file is part of lsst-resources. 

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. 

13 

14import os.path 

15 

16from setuptools import setup 

17 

18version = "0.1.0" 

19with open("./python/lsst/resources/version.py", "w") as f: 

20 print( 

21 f""" 

22__all__ = ("__version__", ) 

23__version__ = '{version}'""", 

24 file=f, 

25 ) 

26 

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.md"), encoding="utf-8") as f: 

30 long_description = f.read() 

31 

32setup(version=f"{version}", long_description=long_description, long_description_content_type="text/markdown")