Coverage for setup.py: 0%

9 statements  

« prev     ^ index     » next       coverage.py v7.2.1, created at 2023-03-12 01:30 -0800

1#!/usr/bin/env python 

2import os.path 

3from setuptools import setup 

4 

5# This is not a real version number -- it is used for testing 

6version = "0.1.0" 

7with open("./python/lsst/pex/config/version.py", "w") as f: 

8 print(f""" 

9__all__ = ("__version__", ) 

10__version__ = '{version}'""", file=f) 

11 

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

15 long_description = f.read() 

16 

17setup( 

18 version=f"{version}", 

19 long_description=long_description, 

20 long_description_content_type="text/x-rst" 

21)