python_skeleton/skeleton/setup.py

24 lines
609 B
Python
Raw Permalink Normal View History

2023-05-18 10:52:53 +02:00
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Setup script"""
2023-05-18 11:00:49 +02:00
import configparser
2021-01-13 16:10:29 +01:00
import setuptools
2023-05-18 11:00:49 +02:00
config = configparser.ConfigParser()
config.read('setup.cfg')
setuptools.setup(
scripts=['__project_codename__/__project_codename__.py'],
author="__author__",
2023-05-18 11:00:49 +02:00
version=config['metadata']['version'],
name=config['metadata']['name'],
author_email="__author_email__",
url="__url__",
description="__description__",
2022-06-14 08:42:54 +02:00
long_description="README.md",
long_description_content_type="text/markdown",
license="__license__",
2023-05-18 10:52:53 +02:00
# keywords=["my", "script", "does", "things"]
)