Skip to content

Commit b258280

Browse files
committed
Revert "setup: use requirements.txt install to get unreleased datacite module"
This reverts commit 4159931.
1 parent 4159931 commit b258280

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"codeRepository": "https://github.com/caltechlibrary/caltechdata_api",
77
"issueTracker": "https://github.com/caltechlibrary/caltechdata_api/issues",
88
"license": "https://data.caltech.edu/license",
9-
"version": "0.1.8",
9+
"version": "0.1.7",
1010
"author": [
1111
{
1212
"@type": "Person",
@@ -18,7 +18,7 @@
1818
}],
1919
"developmentStatus": "active",
2020
"downloadUrl":
21-
"https://github.com/caltechlibrary/caltechdata_api/archive/0.1.8.zip",
21+
"https://github.com/caltechlibrary/caltechdata_api/archive/0.1.5.zip",
2222
"keywords": [
2323
"GitHub",
2424
"metadata",

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ def read(fname):
1616
src = f.read()
1717
return src
1818

19-
def read_requirements():
20-
"""Parse requirements from requirements.txt."""
21-
reqs_path = os.path.join('.', 'requirements.txt')
22-
with open(reqs_path, 'r') as f:
23-
requirements = [line.rstrip() for line in f]
24-
return requirements
25-
2619
codemeta_json = "codemeta.json"
2720

2821
# Let's pickup as much metadata as we need from codemeta.json
@@ -57,7 +50,9 @@ def read_requirements():
5750
REQUIRES_PYTHON = '>=3.7.0'
5851

5952
# What packages are required for this module to be executed?
60-
REQUIRED = read_requirements()
53+
REQUIRED = [
54+
'requests','datacite','tqdm'
55+
]
6156

6257
# What packages are optional?
6358
EXTRAS = {

0 commit comments

Comments
 (0)