Skip to content

Commit 929d7c2

Browse files
committed
More from codemeta
1 parent 9da0f67 commit 929d7c2

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

setup.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ def read_requirements():
4242
author_email = email
4343
else:
4444
author_email = author_email + ", " + email
45+
description = meta['description']
46+
url = meta['codeRepository']
47+
download = meta['downloadUrl']
48+
license = meta['license']
49+
name = meta['name']
4550

4651
# Setup for our Go based executable as a "data_file".
4752
platform = sys.platform
@@ -64,14 +69,14 @@ def read_requirements():
6469
shutil.copy(exec_path,'epxml_support/.')
6570

6671
setup(
67-
name = 'epxml_to_datacite',
72+
name = name,
6873
version = version,
69-
description = "Convert Eprints XML to DataCite XML ato Mint DOIs",
74+
description = description,
7075
author = author,
7176
author_email = author_email,
72-
url = "https://caltechlibrary.github.io/epxml_to_datacite",
73-
download_url = "https://github.com/caltechlibrary/epxml_to_datacite/latest/releases",
74-
license = meta["license"],
77+
url = url,
78+
download_url = download,
79+
license = license,
7580
packages=find_packages(),
7681
py_modules = ["caltech_thesis","caltech_authors_tech_report"],
7782
data_files=[('.',['thesis-subjects.txt']),

0 commit comments

Comments
 (0)