Added
Link Here
|
1 |
--- setup.py.orig 2023-06-16 04:37:29 UTC |
2 |
+++ setup.py |
3 |
@@ -9,14 +9,6 @@ with open("src/anonfile/anonfile.py", encoding='utf-8' |
4 |
python_major = int(re.search(r'python_major = "(.*?)"', lines).group(1)) |
5 |
python_minor = int(re.search(r'python_minor = "(.*?)"', lines).group(1)) |
6 |
|
7 |
-print("reading dependency file") |
8 |
- |
9 |
-with open("requirements/release.txt", mode='r', encoding='utf-8') as requirements: |
10 |
- packages = requirements.read().splitlines() |
11 |
- |
12 |
-with open("requirements/dev.txt", mode='r', encoding='utf-8') as requirements: |
13 |
- dev_packages = requirements.read().splitlines() |
14 |
- |
15 |
print("reading readme file") |
16 |
|
17 |
with open("README.md", "r") as fh: |
18 |
@@ -37,9 +29,13 @@ setup( |
19 |
'Changelog': "https://github.com/nstrydom2/anonfile-api/blob/master/CHANGELOG.md" |
20 |
}, |
21 |
python_requires=">=%d.%d" % (python_major, python_minor), |
22 |
- install_requires=packages, |
23 |
+ install_requires=[ |
24 |
+ "requests", |
25 |
+ "requests-toolbelt", |
26 |
+ "tqdm", |
27 |
+ "importlib-metadata" |
28 |
+ ], |
29 |
extra_requires={ |
30 |
- 'dev': dev_packages[1:], |
31 |
'test': ['pytest'] |
32 |
}, |
33 |
package_dir={'': 'src'}, |