diff --git a/skeleton/setup.py b/skeleton/setup.py index 0e53e32..fe1510b 100644 --- a/skeleton/setup.py +++ b/skeleton/setup.py @@ -2,12 +2,17 @@ # -*- coding: utf-8 -*- """Setup script""" +import configparser import setuptools + +config = configparser.ConfigParser() +config.read('setup.cfg') + setuptools.setup( scripts=['__project_codename__/__project_codename__.py'], author="__author__", - version='__version__', - name='__project_codename__', + version=config['metadata']['version'], + name=config['metadata']['name'], author_email="__author_email__", url="__url__", description="__description__",