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