From 0400ad1717f9418b65731524d7af7a86867d8e52 Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Fri, 28 Oct 2022 17:48:11 +0200 Subject: Bugfix. I broke setup.py --- setup.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index afff7e5..d73f69c 100644 --- a/setup.py +++ b/setup.py @@ -5,16 +5,15 @@ import os from setuptools import setup, find_packages -import metadata +from metadata import metadata +metadata_ = metadata.copy() -metadata_ = {} -for attribute in ('version', 'author', 'author_email', 'license'): - metadata_[attribute] = getattr(metadata, '__%s__' % attribute) +for x in metadata: + if not x in ('author', 'version', 'license', 'maintainer', 'author_email', + 'status', 'name', 'description', 'url', 'description'): + metadata_.pop(x) setup( - name='calendar-cli', - description='Simple command-line CalDav client, for adding and browsing calendar items, todo list items, etc.', - url='https://github.com/tobixen/calendar-cli', #packages=['', # ], classifiers=[ -- cgit v1.2.3