Coverage for setup.py : 0%

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
2import os.path
3from setuptools import setup
5version = "0.1.0"
6with open("./python/astro_metadata_translator/version.py", "w") as f:
7 print(f"""
8__all__ = ("__version__", )
9__version__='{version}'""", file=f)
11# read the contents of your README file
12this_directory = os.path.abspath(os.path.dirname(__file__))
13with open(os.path.join(this_directory, "README.md"), encoding='utf-8') as f:
14 long_description = f.read()
16setup(
17 version=f"{version}",
18 long_description=long_description,
19 long_description_content_type="text/markdown"
20)