Hide keyboard shortcuts

Hot-keys 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 

2 

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. 

13 

14import os 

15from setuptools import setup 

16 

17 

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) 

23 

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() 

28 

29setup( 

30 version=f"{version}", 

31 long_description=long_description, 

32 long_description_content_type="text/rst" 

33)