File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1
- import os
1
+ from pathlib import Path
2
2
from setuptools import find_packages , setup
3
3
4
4
# Load version number
5
- __version__ = None
6
-
7
- src_dir = os .path .abspath (os .path .dirname (__file__ ))
8
- version_file = os .path .join (src_dir , 'tap' , '_version.py' )
5
+ __version__ = ''
6
+ version_file = Path (__file__ ).parent .absolute () / 'tap' / '_version.py'
9
7
10
8
with open (version_file ) as fd :
11
9
exec (fd .read ())
33
31
'docstring-parser >= 0.15'
34
32
],
35
33
tests_require = ['pytest' ],
34
+ python_requires = '>=3.7' ,
36
35
classifiers = [
37
36
'Programming Language :: Python :: 3' ,
38
37
'Programming Language :: Python :: 3.7' ,
Original file line number Diff line number Diff line change @@ -303,13 +303,6 @@ def _add_arguments(self) -> None:
303
303
if variable not in self .class_variables :
304
304
self ._add_argument (* name_or_flags , ** kwargs )
305
305
306
- def add_arguments (self ) -> None :
307
- """Deprecated and will be removed by January 1st, 2021.
308
-
309
- Explicitly add arguments to the argument buffer if not using default settings.
310
- """
311
- pass
312
-
313
306
def process_args (self ) -> None :
314
307
"""Perform additional argument processing and/or validation."""
315
308
pass
You can’t perform that action at this time.
0 commit comments