From 929d7c2833c2c1d1719382f4a1faedb2221a5231 Mon Sep 17 00:00:00 2001 From: Tom Morrell Date: Wed, 20 Mar 2019 11:39:34 -0700 Subject: [PATCH] More from codemeta --- setup.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 8066f2b..76c24d0 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,11 @@ def read_requirements(): author_email = email else: author_email = author_email + ", " + email +description = meta['description'] +url = meta['codeRepository'] +download = meta['downloadUrl'] +license = meta['license'] +name = meta['name'] # Setup for our Go based executable as a "data_file". platform = sys.platform @@ -64,14 +69,14 @@ def read_requirements(): shutil.copy(exec_path,'epxml_support/.') setup( - name = 'epxml_to_datacite', + name = name, version = version, - description = "Convert Eprints XML to DataCite XML ato Mint DOIs", + description = description, author = author, author_email = author_email, - url = "https://caltechlibrary.github.io/epxml_to_datacite", - download_url = "https://github.com/caltechlibrary/epxml_to_datacite/latest/releases", - license = meta["license"], + url = url, + download_url = download, + license = license, packages=find_packages(), py_modules = ["caltech_thesis","caltech_authors_tech_report"], data_files=[('.',['thesis-subjects.txt']),