File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ download and unarchive the source tarball (Appium-Python-Client-X.X.tar.gz).
2626 ```shell
2727 tar -xvf Appium-Python-Client-X.X.tar.gz
2828 cd Appium-Python-Client-X.X
29- python setup.py install
29+ pip install .
3030 ```
3131
32323 . Install from source via [ GitHub] ( https://github.com/appium/python-client ) .
3333
3434 ``` shell
3535 git clone git@github.com:appium/python-client.git
3636 cd python-client
37- python setup.py install
37+ pip install .
3838 ```
3939
4040# # Compatibility Matrix
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- from importlib import metadata
15+ from importlib . metadata import version as _metadata_version
1616
17-
18- def _get_version ():
19- return metadata .version ('Appium-Python-Client' )
20-
21-
22- version = _get_version ()
17+ version = _metadata_version ('Appium-Python-Client' )
Original file line number Diff line number Diff line change @@ -64,11 +64,6 @@ dev = [
6464requires = [" hatchling" ]
6565build-backend = " hatchling.build"
6666
67- [tool .hatch .version ]
68- source = " regex"
69- path = " appium/version.py"
70- pattern = " (?P<version>\\ d+\\ .\\ d+\\ .\\ d+)"
71-
7267[tool .hatch .build ]
7368exclude = [
7469 " test/" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments